Skip to content

Commit

Permalink
NFS: out of date comment regarding O_EXCL above nfs3_proc_create()
Browse files Browse the repository at this point in the history
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 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>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
  • Loading branch information
Harshula Jayasuriya authored and Trond Myklebust committed Sep 8, 2009
1 parent 5eecfde commit dbab836
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/nfs/nfs3proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit dbab836

Please sign in to comment.