[PATCH] btrfs: fix race between allocate and release extent buffer.

2010-02-04 Thread Yan, Zheng
Increase extent buffer's reference count while holding the lock. Otherwise it can race with try_release_extent_buffer. Signed-off-by: Yan Zheng zheng@oracle.com --- diff -urp 1/fs/btrfs/extent_io.c 2/fs/btrfs/extent_io.c --- 1/fs/btrfs/extent_io.c 2010-01-17 15:48:16.770302026 +0800 +++

Re: [PATCH] btrfs: fix race between allocate and release extent buffer.

2010-02-04 Thread Yan, Zheng
On 02/04/2010 04:46 PM, Yan, Zheng wrote: Increase extent buffer's reference count while holding the lock. Otherwise it can race with try_release_extent_buffer. Signed-off-by: Yan Zheng zheng@oracle.com --- diff -urp 1/fs/btrfs/extent_io.c 2/fs/btrfs/extent_io.c ---

Re: [PATCH] btrfs: fix race between allocate and release extent buffer.

2010-02-04 Thread Chris Mason
On Thu, Feb 04, 2010 at 04:46:56PM +0800, Yan, Zheng wrote: Increase extent buffer's reference count while holding the lock. Otherwise it can race with try_release_extent_buffer. Thanks, I'll get this in for today's pull. -chris -- To unsubscribe from this list: send the line unsubscribe