]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Fix an NFSv4 mount regression
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 21 Jul 2009 20:48:07 +0000 (16:48 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 21 Jul 2009 20:48:07 +0000 (16:48 -0400)
commit6d3985a4c0d3288bce46c712fbacfdeb138b1f72
tree89d80da7e017240e5a1d20c79501459c886fd007
parente626280743aa62b0030cb85daac99c56f3764ca0
NFSv4: Fix an NFSv4 mount regression

Commit abc51033dcb6f883b710efa219edc6ff53310595 (nfs41: recover lease in
_nfs4_lookup_root) forces the state manager to always run on mount. This is
a bug in the case of NFSv4.0, which doesn't require us to send a
setclientid until we want to grab file state.

In any case, this is completely the wrong place to be doing state
management. Moving that code into nfs4_init_session...

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/client.c
fs/nfs/nfs4_fs.h
fs/nfs/nfs4proc.c