nfsd4: release openowners on free in >=4.1 case
authorJ. Bruce Fields <bfields@redhat.com>
Wed, 6 Jun 2012 16:53:48 +0000 (12:53 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 10 Jul 2012 20:41:34 +0000 (16:41 -0400)
commit74dbafaf5d84b5187e50dbe82442ec8df66d55b3
treed31e1c1d7c1691893b91ae3bc1453fa6eb46d585
parent2930d381d22b9c56f40dd4c63a8fa59719ca2c3c
nfsd4: release openowners on free in >=4.1 case

We don't need to keep openowners around in the >=4.1 case, because they
aren't needed to handle CLOSE replays any more (that's a problem for
sessions).  And doing so causes unexpected failures on a subsequent
destroy_clientid to fail.

We probably also need something comparable for lock owners on last
unlock.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c