Commit 8bd7083d authored by Yangtao Li's avatar Yangtao Li Committed by sanglipeng
Browse files

f2fs: handle dqget error in f2fs_transfer_project_quota()

stable inclusion
from stable-v5.10.180
commit c3a1914b96784e9c9125732ca036072ef4b948eb
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8DDFN

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c3a1914b96784e9c9125732ca036072ef4b948eb



--------------------------------

[ Upstream commit 8051692f ]

We should set the error code when dqget() failed.

Fixes: 2c1d0305 ("f2fs: support F2FS_IOC_FS{GET,SET}XATTR")
Signed-off-by: default avatarYangtao Li <frank.li@vivo.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 4356291c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment