writeback: fix ntfs with sb_has_dirty_inodes()
authorFengguang Wu <wfg@mail.ustc.edu.cn>
Wed, 17 Oct 2007 06:30:39 +0000 (23:30 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:43:02 +0000 (08:43 -0700)
commit08d8e9749e7f0435ba4683b620e8d30d59276b4c
treea973ab68d1f10f02e13f8d536ba0bf2cb8f2ffba
parent2c1365791048e8aff42138ed5f6040b3c7824a69
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>
fs/fs-writeback.c
fs/ntfs/super.c
include/linux/fs.h