]> git.baikalelectronics.ru Git - kernel.git/commit
quota: fix condition for resetting time limit in do_set_dqblk()
authorChengguang Xu <cgxu519@zoho.com.cn>
Wed, 24 Jul 2019 05:32:16 +0000 (13:32 +0800)
committerJan Kara <jack@suse.cz>
Wed, 31 Jul 2019 10:04:42 +0000 (12:04 +0200)
commit4d1dfff6e1c360f66b8fa07eba34f34d3adcaf18
tree1fe3a2ff1a9eec916bb8c39427c06c0f9004e75b
parente7b4ca232d3d341ba1687093acc30b1ba60f384c
quota: fix condition for resetting time limit in do_set_dqblk()

We reset time limit when current usage is smaller
or equal to soft limit in other place, so follow
this rule in do_set_dqblk().

Signed-off-by: Chengguang Xu <cgxu519@zoho.com.cn>
Link: https://lore.kernel.org/r/20190724053216.19392-1-cgxu519@zoho.com.cn
Signed-off-by: Jan Kara <jack@suse.cz>
fs/quota/dquot.c