knfsd: nfsd4: return nfserr_wrongsec
authorAndy Adamson <andros@citi.umich.edu>
Tue, 17 Jul 2007 11:04:48 +0000 (04:04 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 17 Jul 2007 17:23:08 +0000 (10:23 -0700)
commit32c1eb0cd7ee00b5eb7b6f7059c635fbc1052966
treec1a15e47d2dd93417b38d374346332809d461bda
parent6c0a654dceaa4342270306de77eadb0173dfb58a
knfsd: nfsd4: return nfserr_wrongsec

Make the first actual use of the secinfo information by using it to return
nfserr_wrongsec when an export is found that doesn't allow the flavor used on
this request.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Andy Adamson <andros@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/nfsd/export.c
fs/nfsd/nfsfh.c
fs/nfsd/nfssvc.c
fs/nfsd/vfs.c
include/linux/nfsd/export.h
include/linux/nfsd/nfsd.h