[LU-4642] unify lu_object_{find,locate} interfaces to return "-ENOENT" for NULL case Created: 18/Feb/14  Updated: 05/Nov/14

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: nasf (Inactive) Assignee: Bob Glossman (Inactive)
Resolution: Unresolved Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 12695

 Description   

Currently, lu_object_locate() will return NULL for the case of not found the required object (slice), but related lu_object_find_xxx() may return "-ENOENT" for that. Such inconsistent behaviour will confuse the callers. We prefer to make them all to return "-ENOENT" for the case of not found the object.


Generated at Sat Feb 10 01:44:34 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.