summaryrefslogtreecommitdiffstats
path: root/fs/pnode.h
diff options
context:
space:
mode:
authorAl Viro2011-10-24 00:49:54 +0200
committerAl Viro2012-01-04 04:52:34 +0100
commit5ede7b1cfa8201418fb35e12f770e9e7c2559a4d (patch)
treec26d99fbbed708a6db116e57daca68f2b3c672ac /fs/pnode.h
parentRevert "rtc: Disable the alarm in the hardware" (diff)
downloadkernel-qcow2-linux-5ede7b1cfa8201418fb35e12f770e9e7c2559a4d.tar.gz
kernel-qcow2-linux-5ede7b1cfa8201418fb35e12f770e9e7c2559a4d.tar.xz
kernel-qcow2-linux-5ede7b1cfa8201418fb35e12f770e9e7c2559a4d.zip
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>
Diffstat (limited to 'fs/pnode.h')
0 files changed, 0 insertions, 0 deletions