]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/ntfs/dir.c
Merge branch 'module' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux...
[net-next-2.6.git] / fs / ntfs / dir.c
index fe44d3feee4a1b06222600e6028abfca4d5c0df0..0f48e7c5d9e1a7d35fad15b6231107ee5bf7100b 100644 (file)
@@ -1527,10 +1527,9 @@ static int ntfs_dir_open(struct inode *vi, struct file *filp)
  * this problem for now.  We do write the $BITMAP attribute if it is present
  * which is the important one for a directory so things are not too bad.
  */
-static int ntfs_dir_fsync(struct file *filp, struct dentry *dentry,
-               int datasync)
+static int ntfs_dir_fsync(struct file *filp, int datasync)
 {
-       struct inode *bmp_vi, *vi = dentry->d_inode;
+       struct inode *bmp_vi, *vi = filp->f_mapping->host;
        int err, ret;
        ntfs_attr na;