]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: qgroup: move noisy underflow warning to debugging build
authorDavid Sterba <dsterba@suse.com>
Tue, 18 Apr 2017 15:00:12 +0000 (17:00 +0200)
committerDavid Sterba <dsterba@suse.com>
Wed, 19 Apr 2017 10:40:49 +0000 (12:40 +0200)
commit408764e9662d553107ba51d649c8e5d560f038ac
tree4c5e44c46215a71ba2ff0089ba03db2e395e5925
parentc606562dc6762fcca060b35100937712342316ca
btrfs: qgroup: move noisy underflow warning to debugging build

The WARN_ON and warning from report_reserved_underflow can become very
noisy and is visible unconditionally although this is namely for
debugging. The patch "btrfs: Add WARN_ON for qgroup reserved underflow"
(a1c5a909ecdecf07dad68c8fb52ce76e6fde30e7) went to 4.11-rc1 and the plan
was to get the fix as well, but this hasn't happened.

CC: Qu Wenruo <quwenruo@cn.fujitsu.com>
Reviewed-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/qgroup.c