]> Pileus Git - ~andy/linux/blobdiff - drivers/md/bitmap.c
Merge branch 'rc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuil...
[~andy/linux] / drivers / md / bitmap.c
index 23d1d54b12a4b76a3d6b126a4c57c68a2b0ea6c7..1742435ce3ae3080f9ee4f489bc03e5ba827bb52 100644 (file)
@@ -1699,7 +1699,7 @@ int bitmap_create(mddev_t *mddev)
                 * and bypass the page cache, we must sync the file
                 * first.
                 */
-               vfs_fsync(file, file->f_dentry, 1);
+               vfs_fsync(file, 1);
        }
        /* read superblock from bitmap file (this sets mddev->bitmap_info.chunksize) */
        if (!mddev->bitmap_info.external)