Btrfs: return as soon as possible when edquot happens
authorWang Shilong <wangsl-fnst@cn.fujitsu.com>
Wed, 6 Mar 2013 11:51:47 +0000 (11:51 +0000)
committerChris Mason <chris.mason@fusionio.com>
Thu, 14 Mar 2013 18:57:29 +0000 (14:57 -0400)
commit720f1e2060138855b4a1b1e8aa642f9c7feb6750
tree797d17e6d4e620e7842fc7ce26672ab17904c6d4
parent492104c866cb1b62a11393adccb477f5cd2c7768
Btrfs: return as soon as possible when edquot happens

If one of qgroup fails to reserve firstly, we should return immediately,
it is unnecessary to continue check.

Signed-off-by: Wang Shilong <wangsl-fnst@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/qgroup.c