]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: quota: Update quota tree after qgroup relationship change.
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Fri, 27 Feb 2015 08:24:28 +0000 (16:24 +0800)
committerChris Mason <clm@fb.com>
Mon, 13 Apr 2015 14:53:00 +0000 (07:53 -0700)
commitc1c450957a2af20b4b429ee0d523c59e6cb5e244
tree3d60cf81877f8c43b1d71c091bb4fb7a63064d36
parent8f41ebe8f7ed10f5af9929e456312f87a76409b2
btrfs: quota: Update quota tree after qgroup relationship change.

Previous patch modified the in memory struct but it's not written in
quota tree until next commit.
So user will still get old data using "btrfs qgroup show" after
assign/remove.

This patch will call btrfs_run_qgroups in assign ioctl so it will be
updated to in memory quota trees and user will get up-to-date results.

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Reviewed-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/ioctl.c