writeback: enforce s_umount locking in writeback_inodes_sb
authorChristoph Hellwig <hch@lst.de>
Tue, 8 Jun 2010 16:14:51 +0000 (18:14 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Fri, 11 Jun 2010 10:58:07 +0000 (12:58 +0200)
commitcf37e972478ec58a8a54a6b4f951815f0ae28f78
treeb14d75074692ddb213e22e098a64087950f4cf78
parent3c4d716538f3eefb1c1f10961a047a6456a2b590
writeback: enforce s_umount locking in writeback_inodes_sb

Make sure that not only sync_filesystem but all callers of writeback_inodes_sb
have the superblock protected against remount.  As-is this disables all
functionality for these callers, but the next patch relies on this locking to
fix writeback_inodes_sb for sync_filesystem.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
fs/fs-writeback.c
fs/ubifs/budget.c