fs: sync_sb_inodes fix
authorNick Piggin <npiggin@suse.de>
Tue, 6 Jan 2009 22:40:25 +0000 (14:40 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:59:09 +0000 (15:59 -0800)
commit38f21977663126fef53f5585e7f1653d8ebe55c4
treebe5ee7a264fea0d9f4b2d109b7e08b7a1ec794c9
parent4f5a99d64c17470a784a6c68064207d82e3e74a5
fs: sync_sb_inodes fix

Fix data integrity semantics required by sys_sync, by iterating over all
inodes and waiting for any writeback pages after the initial writeout.
Comments explain the exact problem.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/fs-writeback.c