commit | 4c2b46c824a78fc8190d8eafaaea5a9078fe7479 | [log] [tgz] |
---|---|---|
author | Jia-Ju Bai <baijiaju1990@gmail.com> | Tue Mar 09 00:00:20 2021 -0800 |
committer | Mike Marshall <hubcap@omnibond.com> | Mon Oct 11 14:25:34 2021 -0400 |
tree | c3c8cc267f837bd51bdfd1db804ad0f43fc0a565 | |
parent | 507874c08f633e05f3043c618af0705e0a750e4c [diff] |
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: 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>