diff options
| author | Xiao Guangrong <[email protected]> | 2011-04-20 06:45:49 +0000 |
|---|---|---|
| committer | Chris Mason <[email protected]> | 2011-05-23 17:24:41 +0000 |
| commit | c7f895a2b2d1a002810d52e7b6653c9dc2fd0b0b (patch) | |
| tree | 1b2a05c2efe1f169983bff7a497d812aa86c3000 /fs/jbd2/commit.c | |
| parent | Btrfs: allocate extent state and check the result properly (diff) | |
| download | kernel-c7f895a2b2d1a002810d52e7b6653c9dc2fd0b0b.tar.gz kernel-c7f895a2b2d1a002810d52e7b6653c9dc2fd0b0b.zip | |
Btrfs: fix unsafe usage of merge_state
merge_state can free the current state if it can be merged with the next node,
but in set_extent_bit(), after merge_state, we still use the current extent to
get the next node and cache it into cached_state
Signed-off-by: Xiao Guangrong <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
