Btrfs: remove BUG_ON()s in btrfs_ioctl_setflags()
commitf062abf089ff705e09bbaa6fa1e2fd7688a0f2ea
authorLi Zefan <lizf@cn.fujitsu.com>
Thu, 29 Dec 2011 05:36:45 +0000 (29 13:36 +0800)
committerLi Zefan <lizf@cn.fujitsu.com>
Wed, 11 Jan 2012 02:26:38 +0000 (11 10:26 +0800)
tree02ed40f0c73ed1d6f8dbdaf5ce725b520036a9b7
parent706efc6630c2722602541a6a2fc5900a4e38456a
Btrfs: remove BUG_ON()s in btrfs_ioctl_setflags()

We can recover from errors and return -errno to user space.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
fs/btrfs/ioctl.c