diff options
author | 2010-06-08 18:14:58 +0200 | |
---|---|---|
committer | 2010-06-11 12:58:07 +0200 | |
commit | d19de7edf59cdd586777b009e0e8fbe5412dd35f (patch) | |
tree | 8b6b56c705d7ed6fc22fe53b4d49b41372874afa /lib/genalloc.c | |
parent | writeback: enforce s_umount locking in writeback_inodes_sb (diff) | |
download | wireguard-linux-d19de7edf59cdd586777b009e0e8fbe5412dd35f.tar.xz wireguard-linux-d19de7edf59cdd586777b009e0e8fbe5412dd35f.zip |
writeback: fix writeback_inodes_wb from writeback_inodes_sb
When we call writeback_inodes_wb from writeback_inodes_sb we always have
s_umount held, which currently makes the whole operation a no-op.
But if we are called to write out inodes for a specific superblock we always
have s_umount held, so replace the incorrect logic checking for WB_SYNC_ALL
which only worked by coincidence with the proper check for an explicit
superblock argument.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions