Files
linux/fs/orangefs
Jia-Ju Bai 7aa91b9ecd 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>
2023-05-16 12:15:27 +09:00
..
2016-08-07 23:38:47 -04:00
2016-08-12 15:12:54 -04:00
2015-10-03 11:40:00 -04:00
2018-06-26 08:08:08 +08:00
2016-08-12 15:12:54 -04:00
2016-11-07 10:41:55 -05:00
2017-06-14 15:06:00 +02:00
2016-08-15 11:38:36 -04:00
2023-05-16 11:27:15 +09:00
2016-08-12 15:12:54 -04:00