J. Bruce Fields 7fa53cc872 nfsd: don't allow setting maxblksize after svc created
It's harmless to set this after the server is created, but also
ineffective, since the value is only used at the time of
svc_create_pooled().  So fail the attempt, in keeping with the pattern
set by write_versions, write_{lease,grace}time and write_recoverydir.

(This could break userspace that tried to write to nfsd/max_block_size
between setting up sockets and starting the server.  However, such code
wouldn't have worked anyway, and I don't know of any examples--rpc.nfsd
in nfs-utils, probably the only user of the interface, doesn't do that.)

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
2010-08-06 18:00:33 -04:00
..
2008-02-01 16:42:05 -05:00
2010-05-04 11:29:05 -04:00
2007-05-09 12:30:54 -07:00
2010-07-30 12:54:54 -04:00
2010-05-13 12:03:11 -04:00
2010-07-30 12:54:54 -04:00
2009-12-20 20:19:51 -08:00
2009-12-15 15:01:46 -05:00
2010-07-30 12:54:54 -04:00
2010-07-30 12:54:54 -04:00
2010-07-30 12:54:54 -04:00
2010-05-13 12:03:11 -04:00