summaryrefslogtreecommitdiff
path: root/fs/mbcache.c
diff options
context:
space:
mode:
authorQu Wenruo <quwenruo@cn.fujitsu.com>2015-08-03 09:44:29 +0300
committerChris Mason <clm@fb.com>2015-08-07 00:51:15 +0300
commitc05f9429e12da7c7de2649ef8c8c16bf8c12061f (patch)
tree42910e60d57a14d0989a49daa9010cc087d0f1ae /fs/mbcache.c
parent00d80e342c0f4f1990ab69f594ee1e2348e51dd9 (diff)
downloadlinux-c05f9429e12da7c7de2649ef8c8c16bf8c12061f.tar.xz
btrfs: qgroup: Fix a regression in qgroup reserved space.
During the change to new btrfs extent-oriented qgroup implement, due to it doesn't use the old __qgroup_excl_accounting() for exclusive extent, it didn't free the reserved bytes. The bug will cause limit function go crazy as the reserved space is never freed, increasing limit will have no effect and still cause EQOUT. The fix is easy, just free reserved bytes for newly created exclusive extent as what it does before. Reported-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com> Signed-off-by: Yang Dongsheng <yangds.fnst@cn.fujitsu.com> Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/mbcache.c')
0 files changed, 0 insertions, 0 deletions