Jia-Ju Bai c4eb684990 fs: orangefs: fix error return code of orangefs_revalidate_lookup()
[ Upstream commit 4c2b46c824a78fc8190d8eafaaea5a9078fe7479 ]

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: 8bb8aefd5afb ("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-18 14:04:23 +01:00
..
2021-09-08 08:49:01 +02:00
2020-10-16 11:11:22 -07:00
2021-10-27 09:56:51 +02:00
2021-07-14 16:55:59 +02:00
2021-09-18 13:40:15 +02:00
2021-11-18 14:03:40 +01:00
2021-11-18 14:04:00 +01:00
2021-11-18 14:04:15 +01:00
2021-07-14 16:56:12 +02:00
2020-09-10 14:03:31 -07:00
2020-10-23 11:33:41 -07:00
2020-10-23 11:33:41 -07:00
2020-10-24 12:40:18 -07:00
2020-08-27 16:06:47 -04:00