]> git.baikalelectronics.ru Git - kernel.git/commit
quota: correct error number in free_dqentry()
authorZhang Yi <yi.zhang@huawei.com>
Fri, 8 Oct 2021 09:38:21 +0000 (17:38 +0800)
committerJan Kara <jack@suse.cz>
Mon, 11 Oct 2021 08:57:04 +0000 (10:57 +0200)
commit102b2978d8c6e097ba94bb9740e5e152e2f2f714
treeb7724e83ba0c109ac887926e12f2044d777a00be
parentf4f864992f1c4f2260bc285146b33d81e30beb88
quota: correct error number in free_dqentry()

Fix the error path in free_dqentry(), pass out the error number if the
block to free is not correct.

Fixes: a1c73b3d75ae ("quota: Split off quota tree handling into a separate file")
Link: https://lore.kernel.org/r/20211008093821.1001186-3-yi.zhang@huawei.com
Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Cc: stable@kernel.org
Signed-off-by: Jan Kara <jack@suse.cz>
fs/quota/quota_tree.c