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)
commitfccba8045537f7e840d0e7565e1989d465e488a3
tree89d80da7e017240e5a1d20c79501459c886fd007
parentb64aec8d1e1d8482a7b6cca60c8105c756bf1fe4
NFSv4: Fix an NFSv4 mount regression

Commit 008f55d0e019943323c20a03493a2ba5672a4cc8 (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