nfsd4: fix mixed 4.0/4.1 handling, 4.1 reboot
authorJ. Bruce Fields <bfields@redhat.com>
Wed, 24 Nov 2010 22:30:54 +0000 (17:30 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 17 Dec 2010 20:48:01 +0000 (15:48 -0500)
commite203d506bd221bfa5b3acbb7336ae7b7646636a4
tree237901e3b618d50f7ab65ff86dde3aaf1497c09f
parent6e5f15c93dc745d46c2bb9e4597b44463203844b
nfsd4: fix mixed 4.0/4.1 handling, 4.1 reboot

Instead of failing to find client entries which don't match the
minorversion, we should be finding them, then either erroring out or
expiring them as appropriate.

This also fixes a problem which would cause the 4.1 server to fail to
recognize clients after a second reboot.

Reported-by: Casey Bodley <cbodley@citi.umich.edu>
Reviewed-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4recover.c
fs/nfsd/nfs4state.c