btrfs: Return EXDEV for cross file system snapshot
authorKusanagi Kouichi <slash@ac.auone-net.jp>
Thu, 30 Jan 2014 07:32:02 +0000 (16:32 +0900)
committerJosef Bacik <jbacik@fb.com>
Mon, 10 Mar 2014 19:15:37 +0000 (15:15 -0400)
commit23ad5b17dce0f09af82c071b26acac35a0ab892b
tree8da600d6a7d4a586c6b86204d317afad8d6b924f
parent827463c49f29111efd22148d24c9ca44d648acfa
btrfs: Return EXDEV for cross file system snapshot

EXDEV seems an appropriate error if an operation fails bacause it
crosses file system boundaries.

Reviewed-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp>
Signed-off-by: Josef Bacik <jbacik@fb.com>
fs/btrfs/ioctl.c