summaryrefslogtreecommitdiffstats
path: root/fs/quota/Kconfig
diff options
context:
space:
mode:
authorChao Yu2017-11-28 16:01:44 +0100
committerJan Kara2017-11-28 16:08:08 +0100
commit1a6152d36dee08da2be2a3030dceb45ef680460a (patch)
tree7df33341a7f8cf7f1eb9b3e9bf972b0cac034224 /fs/quota/Kconfig
parentreiserfs: remove unneeded i_version bump (diff)
downloadkernel-qcow2-linux-1a6152d36dee08da2be2a3030dceb45ef680460a.tar.gz
kernel-qcow2-linux-1a6152d36dee08da2be2a3030dceb45ef680460a.tar.xz
kernel-qcow2-linux-1a6152d36dee08da2be2a3030dceb45ef680460a.zip
quota: propagate error from __dquot_initialize
In commit 6184fc0b8dd7 ("quota: Propagate error from ->acquire_dquot()"), we have propagated error from __dquot_initialize to caller, but we forgot to handle such error in add_dquot_ref(), so, currently, during quota accounting information initialization flow, if we failed for some of inodes, we just ignore such error, and do account for others, which is not a good implementation. In this patch, we choose to let user be aware of such error, so after turning on quota successfully, we can make sure all inodes disk usage can be accounted, which will be more reasonable. Suggested-by: Jan Kara <jack@suse.cz> Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/quota/Kconfig')
0 files changed, 0 insertions, 0 deletions