diff options
| author | Kent Overstreet <[email protected]> | 2013-09-24 06:17:35 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2013-09-24 21:41:43 +0000 |
| commit | 84786438ed17978d72eeced580ab757e4da8830b (patch) | |
| tree | c23d3b88414deb9b3c83a971fe78d8bac6485ccb /fs/btrfs/dev-replace.c | |
| parent | bcache: Fix a shrinker deadlock (diff) | |
| download | kernel-84786438ed17978d72eeced580ab757e4da8830b.tar.gz kernel-84786438ed17978d72eeced580ab757e4da8830b.zip | |
bcache: Fix for handling overlapping extents when reading in a btree node
btree_sort_fixup() was overly clever, because it was trying to avoid
pulling a key off the btree iterator in more than one place.
This led to a really obscure bug where we'd break early from the loop in
btree_sort_fixup() if the current key overlapped with keys in more than
one older set, and the next key it overlapped with was zero size.
Signed-off-by: Kent Overstreet <[email protected]>
Cc: linux-stable <[email protected]> # >= v3.10
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
