aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/super.h
diff options
context:
space:
mode:
authorNick Piggin <npiggin@suse.de>2009-09-15 15:37:55 -0400
committerJens Axboe <jens.axboe@oracle.com>2009-09-16 09:18:53 -0400
commit1ef7d9aa32a8ee054c4d4fdcd2ea537c04d61b2f (patch)
tree69c570a78f37760ead0c8cad2eda25991c3fcd4c /fs/ocfs2/super.h
parent77b9d059cb3ddb8b1246d5878e81d52926550b23 (diff)
writeback: fix possible bdi writeback refcounting problem
wb_clear_pending AFAIKS should not be called after the item has been put on the list, except by the worker threads. It could lead to the situation where the refcount is decremented below 0 and cause lots of problems. Presumably the !wb_has_dirty_io case is not a common one, so it can be discovered when the thread wakes up to check? Also add a comment in bdi_work_clear. Signed-off-by: Nick Piggin <npiggin@suse.de> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'fs/ocfs2/super.h')
0 files changed, 0 insertions, 0 deletions