Skip to contentSkip to conversation

NFS: out of date comment regarding O_EXCL above nfs3_proc_create()

PATCH New Harshula Jayasuriya 1 participant 1 message Jun 2, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 NFS: out of date comment regarding O_EXCL above nfs3_proc_create()

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

---
fs/nfs/nfs3proc.c | 1 -

 1 files changed, 0 insertions(+), 1 deletions(-)
fs/nfs/nfs3proc.c +0 -1
index d0cc5ce..ee6a13f 100644
@@ -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,
#