diff options
author | Nick Piggin <nickpiggin@yahoo.com.au> | 2007-01-30 14:36:27 +1100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-01-29 20:20:42 -0800 |
commit | 87df7241bd547da5d4d4a4e5397866dfe422e439 (patch) | |
tree | ffe1e90a761aa358ef95e351e0718cb3c377ad37 /fs/nls/nls_cp775.c | |
parent | 4cbf2aa35e1c189db234190fefc6c83b139ef963 (diff) |
[PATCH] Fix try_to_free_buffer() locking
Fix commit ecdfc9787fe527491baefc22dce8b2dbd5b2908d
Not to put too fine a point on it, but in a nutshell...
__set_page_dirty_buffers() | try_to_free_buffers()
---------------------------+---------------------------
| spin_lock(private_lock);
| drop_bufers()
| spin_unlock(private_lock);
spin_lock(private_lock) |
!page_has_buffers() |
spin_unlock(private_lock) |
SetPageDirty() |
| cancel_dirty_page()
oops!
Signed-off-by: Nick Piggin <npiggin@suse.de>
Acked-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/nls/nls_cp775.c')
0 files changed, 0 insertions, 0 deletions