Btrfs: fix uninit variable in clone ioctl
authorChris Mason <clm@fb.com>
Sat, 11 Apr 2015 12:09:06 +0000 (05:09 -0700)
committerChris Mason <clm@fb.com>
Mon, 13 Apr 2015 14:03:58 +0000 (07:03 -0700)
commitde249e66a73d696666281cd812087979c6fae552
tree86029ddde6c8aff5fad962e0e2b39a5eabe7b1da
parentccccf3d67294714af2d72a6fd6fd7d73b01c9329
Btrfs: fix uninit variable in clone ioctl

Commit 0d97a64e0 creates a new variable but doesn't always set it up.
This puts it back to the original method (key.offset + 1) for the cases
not covered by Filipe's new logic.

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