Btrfs: add fiemap's flag check
authorTsutomu Itoh <t-itoh@jp.fujitsu.com>
Thu, 29 Nov 2012 05:08:26 +0000 (05:08 +0000)
committerChris Mason <chris.mason@fusionio.com>
Mon, 17 Dec 2012 01:46:16 +0000 (20:46 -0500)
commit05dadc09f52ad5a631da1aa8767c5b80e121f0c4
tree291dd56862b5f58f5c64b01ec7797212206bf26c
parent01e6deb25ae11e7b85484bf5e550eb540c50c63e
Btrfs: add fiemap's flag check

When the flag not supported is specified, it is necessary to return the error
to the caller.
So, we add the validity check of the fiemap's flag.

Signed-off-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/inode.c