diff options
author | Yan, Zheng <zheng.yan@oracle.com> | 2010-02-04 08:46:56 (GMT) |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2010-02-04 16:31:44 (GMT) |
commit | f044ba7835b84e69c68b620ca8fa27e5ef67759d (patch) | |
tree | 33c21a5b97a61d584f330618c7428d513e5d8aa2 /fs/btrfs/file.c | |
parent | 035fe03a7ad56982b30ab3a522b7b08d58feccd0 (diff) | |
download | linux-fsl-qoriq-f044ba7835b84e69c68b620ca8fa27e5ef67759d.tar.xz |
Btrfs: fix race between allocate and release extent buffer.
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.yan@oracle.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/file.c')
0 files changed, 0 insertions, 0 deletions