NFSv4: Fix open state recovery
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 18 Jul 2007 01:50:45 +0000 (21:50 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 19 Jul 2007 19:09:03 +0000 (15:09 -0400)
commit6f220ed5a84d87645a84ae22105dc565f3f248b5
treef7a9cc2a178da84c656f794248e1a55c6f5e09d3
parent8cd69e1bc7970bfb032b425043cc0d4e4345c74c
NFSv4: Fix open state recovery

Ensure that opendata->state is always initialised when we do state
recovery.

Ensure that we set the filehandle in the case where we're doing an
"OPEN_CLAIM_PREVIOUS" call due to a server reboot.

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