nfs41: Move initialization of nfs4_opendata seq_res to nfs4_init_opendata_res
authorBenny Halevy <bhalevy@panasas.com>
Fri, 19 Jun 2009 02:01:23 +0000 (22:01 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 20 Jun 2009 18:55:12 +0000 (14:55 -0400)
commit578e4585685410cacd1a4ac86b7e3c12805be918
tree57e2a3730e19a6332ad54e6570768f964b781e58
parent1f84603c0940d5bed17f7e4d2e0b2a4b8b8f1b81
nfs41: Move initialization of nfs4_opendata seq_res to nfs4_init_opendata_res

nfs4_open_recover_helper clears opendata->o_res
before calling nfs4_init_opendata_res, thus causing
NFSv4.0 OPEN operations to be sent rather than nfsv4.1.

Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c