]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: fix EINVAL checks in btrfs_clone
authorChris Mason <clm@fb.com>
Mon, 7 Apr 2014 14:10:40 +0000 (07:10 -0700)
committerChris Mason <clm@fb.com>
Mon, 7 Apr 2014 16:08:50 +0000 (09:08 -0700)
commitd7efa349ef01cf55ee34d02a9e50853e5d2ffa50
tree9be59ad2a1bf07c20e4ebaeea90e43ce455a039f
parentfa47f861e7925ac146eaa1f51bde32ab7602f60e
Btrfs: fix EINVAL checks in btrfs_clone

btrfs_drop_extents can now return -EINVAL, but only one caller
in btrfs_clone was checking for it.  This adds it to the
caller for inline extents, which is where we really need it.

Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/ioctl.c