NFSv4: Don't call OPEN if we already have an open stateid for a file
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 8 Jul 2007 18:11:36 +0000 (14:11 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 11 Jul 2007 03:40:43 +0000 (23:40 -0400)
commit6ee412689027dc7954453aed392ab5c7599c0f73
tree71f09219acaf905e779f9cecf2d0256ba34d6526
parentaac00a8d0a53097063da532cbdf0b8775a4dcd53
NFSv4: Don't call OPEN if we already have an open stateid for a file

If we already have a stateid with the correct open mode for a given file,
then we can reuse that stateid instead of re-issuing an OPEN call without
violating the close-to-open caching semantics.

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