commit | 5ede7b1cfa8201418fb35e12f770e9e7c2559a4d | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sun Oct 23 18:49:54 2011 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue Jan 03 22:52:34 2012 -0500 |
tree | c26d99fbbed708a6db116e57daca68f2b3c672ac | |
parent | 157e8bf8b4823bfcdefa6c1548002374b61f61df [diff] |
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: Al Viro <viro@zeniv.linux.org.uk>