nfsd: let "insecure" flag vary by pseudoflavor
authorJ. Bruce Fields <bfields@citi.umich.edu>
Tue, 8 Dec 2009 23:15:52 +0000 (18:15 -0500)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Tue, 15 Dec 2009 00:08:58 +0000 (19:08 -0500)
commit12045a6ee9908b38b6d286530c7d816e39071346
tree649491cd62d895c32cde4ab488df7e32557eedff
parente8e8753f7a32ce4f636771126fc8eba0dc4ad817
nfsd: let "insecure" flag vary by pseudoflavor

This was an oversight; it should be among the export flags that can be
allowed to vary by pseudoflavor.  This allows an administrator to (for
example) allow auth_sys mounts only from low ports, but allow auth_krb5
mounts to use any port.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/nfsd/nfsfh.c
include/linux/nfsd/export.h