Skip to content
Commit 03b71c6c authored by Gabriel de Perthuis's avatar Gabriel de Perthuis Committed by Josef Bacik
Browse files

btrfs: don't stop searching after encountering the wrong item

The search ioctl skips items that are too large for a result buffer, but
inline items of a certain size occuring before any search result is
found would trigger an overflow and stop the search entirely.

Bug: https://bugzilla.kernel.org/show_bug.cgi?id=57641



Cc: stable@vger.kernel.org
Signed-off-by: default avatarGabriel de Perthuis <g2p.code+btrfs@gmail.com>
Signed-off-by: default avatarJosef Bacik <jbacik@fusionio.com>
parent a52f4cd2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment