diff options
Diffstat (limited to 'drivers/md')
-rw-r--r-- | drivers/md/bitmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/bitmap.c b/drivers/md/bitmap.c index 23d1d54b12a4..1742435ce3ae 100644 --- a/drivers/md/bitmap.c +++ b/drivers/md/bitmap.c | |||
@@ -1699,7 +1699,7 @@ int bitmap_create(mddev_t *mddev) | |||
1699 | * and bypass the page cache, we must sync the file | 1699 | * and bypass the page cache, we must sync the file |
1700 | * first. | 1700 | * first. |
1701 | */ | 1701 | */ |
1702 | vfs_fsync(file, file->f_dentry, 1); | 1702 | vfs_fsync(file, 1); |
1703 | } | 1703 | } |
1704 | /* read superblock from bitmap file (this sets mddev->bitmap_info.chunksize) */ | 1704 | /* read superblock from bitmap file (this sets mddev->bitmap_info.chunksize) */ |
1705 | if (!mddev->bitmap_info.external) | 1705 | if (!mddev->bitmap_info.external) |