]> err.no Git - linux-2.6/blobdiff - drivers/block/loop.c
V4L/DVB (4210b): git-dvb: tea575x-tuner build fix
[linux-2.6] / drivers / block / loop.c
index 9c3b94e8f03baa7d4138802e01b87e27e511c159..3c74ea729fc79529ed766b98f3e1d2b78bb3da57 100644 (file)
@@ -818,7 +818,7 @@ static int loop_set_fd(struct loop_device *lo, struct file *lo_file,
        lo->lo_device = bdev;
        lo->lo_flags = lo_flags;
        lo->lo_backing_file = file;
-       lo->transfer = NULL;
+       lo->transfer = transfer_none;
        lo->ioctl = NULL;
        lo->lo_sizelimit = 0;
        lo->old_gfp_mask = mapping_gfp_mask(mapping);