diff options
author | Gerhard Heift <gerhard@heift.name> | 2014-01-30 16:24:00 +0100 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-06-13 03:21:47 +0200 |
commit | 9b6e817d022fd44fe99db92f00d4b18ac2d8f429 (patch) | |
tree | 86aa31da7598f8d92ff4fd56b71bee20dff82f9b /virt | |
parent | btrfs: tree_search, copy_to_sk: return EOVERFLOW for too small buffer (diff) | |
download | linux-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