aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/block/loop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/loop.c b/drivers/block/loop.c
index 66cfff79938e..edbaac6c0573 100644
--- a/drivers/block/loop.c
+++ b/drivers/block/loop.c
@@ -919,6 +919,7 @@ static int loop_clr_fd(struct loop_device *lo, struct block_device *bdev)
919 919
920 kthread_stop(lo->lo_thread); 920 kthread_stop(lo->lo_thread);
921 921
922 lo->lo_queue->unplug_fn = NULL;
922 lo->lo_backing_file = NULL; 923 lo->lo_backing_file = NULL;
923 924
924 loop_release_xfer(lo); 925 loop_release_xfer(lo);