aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/block/loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/loop.c b/drivers/block/loop.c
index 9c3b94e8f03b..3c74ea729fc7 100644
--- a/drivers/block/loop.c
+++ b/drivers/block/loop.c
@@ -818,7 +818,7 @@ static int loop_set_fd(struct loop_device *lo, struct file *lo_file,
818 lo->lo_device = bdev; 818 lo->lo_device = bdev;
819 lo->lo_flags = lo_flags; 819 lo->lo_flags = lo_flags;
820 lo->lo_backing_file = file; 820 lo->lo_backing_file = file;
821 lo->transfer = NULL; 821 lo->transfer = transfer_none;
822 lo->ioctl = NULL; 822 lo->ioctl = NULL;
823 lo->lo_sizelimit = 0; 823 lo->lo_sizelimit = 0;
824 lo->old_gfp_mask = mapping_gfp_mask(mapping); 824 lo->old_gfp_mask = mapping_gfp_mask(mapping);