summaryrefslogtreecommitdiff
path: root/drivers/block/loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/loop.c')
-rw-r--r--drivers/block/loop.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/block/loop.c b/drivers/block/loop.c
index 0b816b24b..423f4ca7d 100644
--- a/drivers/block/loop.c
+++ b/drivers/block/loop.c
@@ -706,24 +706,6 @@ static inline int is_loop_device(struct file *file)
return i && S_ISBLK(i->i_mode) && MAJOR(i->i_rdev) == LOOP_MAJOR;
}
-/*
- * for AUFS
- * no get/put for file.
- */
-struct file *loop_backing_file(struct super_block *sb)
-{
- struct file *ret;
- struct loop_device *l;
-
- ret = NULL;
- if (MAJOR(sb->s_dev) == LOOP_MAJOR) {
- l = sb->s_bdev->bd_disk->private_data;
- ret = l->lo_backing_file;
- }
- return ret;
-}
-EXPORT_SYMBOL_GPL(loop_backing_file);
-
/* loop sysfs attributes */
static ssize_t loop_attr_show(struct device *dev, char *page,