Whamcloud - gitweb
LU-12758 quota: clear default flag for new ID 36/36236/2
authorHongchao Zhang <hongchao@whamcloud.com>
Tue, 17 Sep 2019 12:57:50 +0000 (08:57 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 27 Sep 2019 23:13:01 +0000 (23:13 +0000)
commitce86e23b21ccffc395089578c0ca356de219ac88
tree768bb77ac27c35bfedb533487fa5f13c5e73b3a9
parentd908fe9686bc1e583da7434856d9c06e6cbbc4fd
LU-12758 quota: clear default flag for new ID

When setting the quota limits as 0 by "lfs setquota", the default
flag won't be cleared if the lquota_entry is just created for some
quota ID at the first time because the quota limits are the same.

Change-Id: I7f44ce0cb13783ca5bede2f55cd0707f1ccbc8ca
Signed-off-by: Hongchao Zhang <hongchao@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/36236
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Shilong Wang <wshilong@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/quota/qmt_handler.c