Trond Myklebust 380454126f NFSv4: Fix a regression in the NFSv4 state manager
Commit 5601a00d671fe89f9b087513244abcd08ad67e7d (nfs: run state manager
in privileged mode) introduces a regression in the NFSv4 code when
compiled with CONFIG_NFS_V4_1. The calls to nfs4_end_drain_session()
from the main loop in nfs4_state_manager() Oops due to the lack of an
NFSv4.1 session when running NFSv4.0.

The fix is to move those two calls back into nfs41_init_clientid() and
nfs4_reset_session().

The calls to nfs4_end_drain_session() that remain inside
nfs4_state_manager() are safe, since the NFSv4.0 code will never set the
NFS4CLNT_SESSION_DRAINING bit.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2009-12-15 17:36:57 -05:00
..
2009-12-10 15:02:50 +01:00
2009-12-10 09:59:23 +02:00
2009-12-03 12:00:12 +00:00
2009-09-24 08:41:47 -04:00
2009-12-14 21:40:04 +01:00
2009-09-24 08:41:47 -04:00
2009-09-24 07:21:03 -07:00
2009-12-03 12:03:40 +05:30
2009-10-22 08:11:44 +09:00
2009-10-04 15:05:10 -07:00
2009-12-10 15:02:50 +01:00