]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Fix NFSv3 exclusive open semantics
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 13 Jan 2011 19:15:50 +0000 (14:15 -0500)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 13 Jan 2011 20:06:29 +0000 (12:06 -0800)
commitce531893c0d19550fb058b67493f0880320ae1e3
tree642d4367dd30a55f78244891479cc08f2983eb7e
parentc5e0375a5b0a6fb99e3e43ad1c5032e9c669b3aa
NFS: Fix NFSv3 exclusive open semantics

Commit 4bb173b145c45e60f2133bfd702467ecd4317789 (NFS: Clean up
nfs4_proc_create()) broke NFSv3 exclusive open by removing the code
that passes the O_EXCL flag down to nfs3_proc_create(). This patch
reverts that offending hunk from the original commit.

Reported-by: Nick Bowler <nbowler@elliptictech.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@kernel.org [2.6.37]
Tested-by: Nick Bowler <nbowler@elliptictech.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/nfs/dir.c