Commit aac8197f authored by Neil Brown's avatar Neil Brown Committed by Linus Torvalds

[PATCH] nfsd4: allow io to use deleg stateid file

Allow io using a delegation stateid to proceed without the need to reopen the
file, as is done already with open stateid's.
Signed-off-by: default avatarAndy Adamson <andros@citi.umich.edu>
Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: default avatarNeil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 56678f33
......@@ -2068,6 +2068,8 @@ nfs4_preprocess_stateid_op(struct svc_fh *current_fh, stateid_t *stateid, int fl
atomic_set(&dp->dl_state,NFS4_RECALL_COMPLETE);
release_delegation(dp);
}
if (filpp)
*filpp = dp->dl_vfs_file;
}
status = nfs_ok;
out:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment