Files
linux/fs/orangefs
Jia-Ju Bai bef23befe1 fs: orangefs: fix error return code of orangefs_revalidate_lookup()
[ Upstream commit 4c2b46c824 ]

When op_alloc() returns NULL to new_op, no error return code of
orangefs_revalidate_lookup() is assigned.
To fix this bug, ret is assigned with -ENOMEM in this case.

Fixes: 8bb8aefd5a ("OrangeFS: Change almost all instances of the string PVFS2 to OrangeFS.")
Reported-by: TOTE Robot <oslab@tsinghua.edu.cn>
Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-11-17 11:04:34 +01:00
..
2021-01-24 14:27:20 +01:00
2021-04-28 07:33:04 -04:00
2021-06-28 08:39:20 -04:00
2021-01-24 14:27:20 +01:00
2018-04-03 21:55:28 -04:00
2021-06-28 08:40:08 -04:00
2021-01-24 14:27:17 +01:00