]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - fs/ntfs/super.c
pass writeback_control to ->write_inode
[mv-sheeva.git] / fs / ntfs / super.c
index 80b04770e8e9c22a64a4becf0686260627e0d7e6..1cf39dfaee7a7395f89763528bf63eb957fec106 100644 (file)
@@ -39,6 +39,7 @@
 #include "dir.h"
 #include "debug.h"
 #include "index.h"
+#include "inode.h"
 #include "aops.h"
 #include "layout.h"
 #include "malloc.h"
@@ -2662,6 +2663,13 @@ static int ntfs_statfs(struct dentry *dentry, struct kstatfs *sfs)
        return 0;
 }
 
+#ifdef NTFS_RW
+static int ntfs_write_inode(struct inode *vi, struct writeback_control *wbc)
+{
+       return __ntfs_write_inode(vi, wbc->sync_mode == WB_SYNC_ALL);
+}
+#endif
+
 /**
  * The complete super operations.
  */