From: Gabriel de Perthuis Date: Mon, 6 May 2013 17:40:18 +0000 (+0000) Subject: btrfs: don't stop searching after encountering the wrong item X-Git-Tag: v3.2.46~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d63f0b723b88be5e598795f0c2b1544d5bbc5def;p=pandora-kernel.git btrfs: don't stop searching after encountering the wrong item commit 03b71c6ca6286625d8f1ed44aabab9b5bf5dac10 upstream. 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 Signed-off-by: Gabriel de Perthuis Signed-off-by: Josef Bacik Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed