]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
knfsd: allow cache_register to return error on failure
authorJ. Bruce Fields <bfields@citi.umich.edu>
Thu, 8 Nov 2007 22:20:34 +0000 (17:20 -0500)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Fri, 1 Feb 2008 21:42:05 +0000 (16:42 -0500)
commitdbf847ecb6318d3a22c6758fe39696d00f39063a
tree2b71e776ca98bc94258f3539bd7f0ea53d2733a8
parentffe9386b6e08e7132cb7730025d0ea310e08a182
knfsd: allow cache_register to return error on failure

Newer server features such as nfsv4 and gss depend on proc to work, so a
failure to initialize the proc files they need should be treated as
fatal.

Thanks to Andrew Morton for style fix and compile fix in case where
CONFIG_NFSD_V4 is undefined.

Cc: Andrew Morton <akpm@linux-foundation.org>
Acked-by: NeilBrown <neilb@suse.de>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/nfsd/export.c
fs/nfsd/nfs4idmap.c
fs/nfsd/nfsctl.c
include/linux/nfsd/export.h
include/linux/nfsd_idmap.h
include/linux/sunrpc/cache.h
net/sunrpc/auth_gss/svcauth_gss.c
net/sunrpc/cache.c