diff options
author | Fengguang Wu <wfg@mail.ustc.edu.cn> | 2007-10-17 02:30:39 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 11:43:02 -0400 |
commit | 08d8e9749e7f0435ba4683b620e8d30d59276b4c (patch) | |
tree | a973ab68d1f10f02e13f8d536ba0bf2cb8f2ffba /include/linux/fs.h | |
parent | 2c1365791048e8aff42138ed5f6040b3c7824a69 (diff) |
writeback: fix ntfs with sb_has_dirty_inodes()
NTFS's if-condition on dirty inodes is not complete. Fix it with
sb_has_dirty_inodes().
Cc: Anton Altaparmakov <aia21@cantab.net>
Cc: Ken Chen <kenchen@google.com>
Signed-off-by: Fengguang Wu <wfg@mail.ustc.edu.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 0b38a897c114..b70331f9f5b7 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -1729,6 +1729,7 @@ extern int bdev_read_only(struct block_device *); | |||
1729 | extern int set_blocksize(struct block_device *, int); | 1729 | extern int set_blocksize(struct block_device *, int); |
1730 | extern int sb_set_blocksize(struct super_block *, int); | 1730 | extern int sb_set_blocksize(struct super_block *, int); |
1731 | extern int sb_min_blocksize(struct super_block *, int); | 1731 | extern int sb_min_blocksize(struct super_block *, int); |
1732 | extern int sb_has_dirty_inodes(struct super_block *); | ||
1732 | 1733 | ||
1733 | extern int generic_file_mmap(struct file *, struct vm_area_struct *); | 1734 | extern int generic_file_mmap(struct file *, struct vm_area_struct *); |
1734 | extern int generic_file_readonly_mmap(struct file *, struct vm_area_struct *); | 1735 | extern int generic_file_readonly_mmap(struct file *, struct vm_area_struct *); |