aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/bitmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/bitmap.c')
-rw-r--r--drivers/md/bitmap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/md/bitmap.c b/drivers/md/bitmap.c
index 4195a01b1535..9a8e66ae04f5 100644
--- a/drivers/md/bitmap.c
+++ b/drivers/md/bitmap.c
@@ -1988,7 +1988,6 @@ location_store(struct mddev *mddev, const char *buf, size_t len)
1988 if (mddev->bitmap_info.file) { 1988 if (mddev->bitmap_info.file) {
1989 struct file *f = mddev->bitmap_info.file; 1989 struct file *f = mddev->bitmap_info.file;
1990 mddev->bitmap_info.file = NULL; 1990 mddev->bitmap_info.file = NULL;
1991 restore_bitmap_write_access(f);
1992 fput(f); 1991 fput(f);
1993 } 1992 }
1994 } else { 1993 } else {