diff options
Diffstat (limited to 'fs/ntfs/super.c')
-rw-r--r-- | fs/ntfs/super.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/ntfs/super.c b/fs/ntfs/super.c index 80b04770e8e9..1cf39dfaee7a 100644 --- a/fs/ntfs/super.c +++ b/fs/ntfs/super.c | |||
@@ -39,6 +39,7 @@ | |||
39 | #include "dir.h" | 39 | #include "dir.h" |
40 | #include "debug.h" | 40 | #include "debug.h" |
41 | #include "index.h" | 41 | #include "index.h" |
42 | #include "inode.h" | ||
42 | #include "aops.h" | 43 | #include "aops.h" |
43 | #include "layout.h" | 44 | #include "layout.h" |
44 | #include "malloc.h" | 45 | #include "malloc.h" |
@@ -2662,6 +2663,13 @@ static int ntfs_statfs(struct dentry *dentry, struct kstatfs *sfs) | |||
2662 | return 0; | 2663 | return 0; |
2663 | } | 2664 | } |
2664 | 2665 | ||
2666 | #ifdef NTFS_RW | ||
2667 | static int ntfs_write_inode(struct inode *vi, struct writeback_control *wbc) | ||
2668 | { | ||
2669 | return __ntfs_write_inode(vi, wbc->sync_mode == WB_SYNC_ALL); | ||
2670 | } | ||
2671 | #endif | ||
2672 | |||
2665 | /** | 2673 | /** |
2666 | * The complete super operations. | 2674 | * The complete super operations. |
2667 | */ | 2675 | */ |