* [PATCH] NFS: out of date comment regarding O_EXCL above nfs3_proc_create()
@ 2009-06-02 5:50 Harshula Jayasuriya
0 siblings, 0 replies; only message in thread
From: Harshula Jayasuriya @ 2009-06-02 5:50 UTC (permalink / raw)
To: Trond Myklebust; +Cc: J. Bruce Fields, linux-nfs
Hi Trond,
Recently we were observing the behaviour difference between a 2.4.x and
2.6.x kernel with respect to O_EXCL. A comment above nfs3_proc_create()
from 2.4.x era, "For now, we don't implement O_EXCL." seems inaccurate
in TOT.
If so, here's a patch to remove the comment.
This patch is against:
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Signed-off-by: Harshula Jayasuriya <harshula@redhat.com>
---
fs/nfs/nfs3proc.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/fs/nfs/nfs3proc.c b/fs/nfs/nfs3proc.c
index d0cc5ce..ee6a13f 100644
--- a/fs/nfs/nfs3proc.c
+++ b/fs/nfs/nfs3proc.c
@@ -299,7 +299,6 @@ static void nfs3_free_createdata(struct nfs3_createdata *data)
/*
* Create a regular file.
- * For now, we don't implement O_EXCL.
*/
static int
nfs3_proc_create(struct inode *dir, struct dentry *dentry, struct iattr *sattr,
--
cya,
#
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-06-02 5:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-02 5:50 [PATCH] NFS: out of date comment regarding O_EXCL above nfs3_proc_create() Harshula Jayasuriya
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox