Skip to content
Snippets Groups Projects
Commit 5ede7b1c authored by Al Viro's avatar Al Viro
Browse files

pull manipulations of rpc_cred inside alloc_nfs_open_context()


No need to duplicate them in both callers; make it return
ERR_PTR(-ENOMEM) on allocation failure instead of NULL and
it'll be able to report rpc_lookup_cred() failures just
fine.  Callers are much happier that way...

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 157e8bf8
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment