summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorGerhard Heift <gerhard@heift.name>2014-01-30 16:24:00 +0100
committerChris Mason <clm@fb.com>2014-06-13 03:21:47 +0200
commit9b6e817d022fd44fe99db92f00d4b18ac2d8f429 (patch)
tree86aa31da7598f8d92ff4fd56b71bee20dff82f9b /virt
parentbtrfs: tree_search, copy_to_sk: return EOVERFLOW for too small buffer (diff)
downloadlinux-9b6e817d022fd44fe99db92f00d4b18ac2d8f429.tar.xz
linux-9b6e817d022fd44fe99db92f00d4b18ac2d8f429.zip
btrfs: tree_search, copy_to_sk: return needed size on EOVERFLOW
If an item in tree_search is too large to be stored in the given buffer, return the needed size (including the header). Signed-off-by: Gerhard Heift <Gerhard@Heift.Name> Signed-off-by: Chris Mason <clm@fb.com> Acked-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions