android_kernel_xiaomi_sm8350/fs/nfsd
J. Bruce Fields 9a25b96c1f nfsd: return errors, not NULL, from export functions
I converted the various export-returning functions to return -ENOENT instead
of NULL, but missed a few cases.

This particular case could cause actual bugs in the case of a krb5 client that
doesn't match any ip-based client and that is trying to access a filesystem
not exported to krb5 clients.

Signed-off-by: "J. Bruce Fields" <bfields@citi.umich.edu>
Acked-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-19 10:04:52 -07:00
..
auth.c knfsd: nfsd: enforce per-flavor id squashing 2007-07-17 10:23:08 -07:00
export.c nfsd: return errors, not NULL, from export functions 2007-07-19 10:04:52 -07:00
lockd.c knfsd: lockd: nfsd4: use same grace period for lockd and nfsd4 2007-07-17 10:23:07 -07:00
Makefile knfsd: trivial makefile cleanup 2007-05-09 12:30:54 -07:00
nfs2acl.c
nfs3acl.c
nfs3proc.c RPC: add wrapper for svc_reserve to account for checksum 2007-05-09 12:30:54 -07:00
nfs3xdr.c knfsd: various nfsd xdr cleanups 2007-05-09 12:30:54 -07:00
nfs4acl.c knfsd: nfsd4: fix handling of acl errrors 2007-07-17 10:23:07 -07:00
nfs4callback.c knfsd: nfsd4: fix enc_stateid_sz for nfsd callbacks 2007-07-17 10:23:07 -07:00
nfs4idmap.c knfsd: nfsd: set rq_client to ip-address-determined-domain 2007-07-17 10:23:07 -07:00
nfs4proc.c knfsd: nfsd4: implement secinfo 2007-07-17 10:23:08 -07:00
nfs4recover.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
nfs4state.c locks: rename lease functions to reflect locks.c conventions 2007-07-18 19:14:12 -04:00
nfs4xdr.c knfsd: nfsd4: secinfo handling without secinfo= option 2007-07-17 10:23:08 -07:00
nfscache.c
nfsctl.c knfsd: nfsd: remove unused header interface.h 2007-07-17 10:23:07 -07:00
nfsfh.c knfsd: nfsd: allow auth_sys nlm on rpcsec_gss exports 2007-07-17 10:23:08 -07:00
nfsproc.c knfsd: nfsd4: make readonly access depend on pseudoflavor 2007-07-17 10:23:08 -07:00
nfssvc.c knfsd: nfsd4: return nfserr_wrongsec 2007-07-17 10:23:08 -07:00
nfsxdr.c knfsd: various nfsd xdr cleanups 2007-05-09 12:30:54 -07:00
stats.c
vfs.c nfsd: fix possible read-ahead cache and export table corruption 2007-07-19 10:04:52 -07:00