Commit 4c2b46c8 authored by Jia-Ju Bai's avatar Jia-Ju Bai Committed by Mike Marshall
Browse files

fs: orangefs: fix error return code of orangefs_revalidate_lookup()

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: 8bb8aefd

 ("OrangeFS: Change almost all instances of the string PVFS2 to OrangeFS.")
Reported-by: default avatarTOTE Robot <oslab@tsinghua.edu.cn>
Signed-off-by: default avatarJia-Ju Bai <baijiaju1990@gmail.com>
Signed-off-by: default avatarMike Marshall <hubcap@omnibond.com>
parent 507874c0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment