提交 dbab8360 编写于 作者: H Harshula Jayasuriya 提交者: Trond Myklebust

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 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.6Signed-off-by: NHarshula Jayasuriya <harshula@redhat.com>
Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
上级 5eecfde6
...@@ -299,7 +299,6 @@ static void nfs3_free_createdata(struct nfs3_createdata *data) ...@@ -299,7 +299,6 @@ static void nfs3_free_createdata(struct nfs3_createdata *data)
/* /*
* Create a regular file. * Create a regular file.
* For now, we don't implement O_EXCL.
*/ */
static int static int
nfs3_proc_create(struct inode *dir, struct dentry *dentry, struct iattr *sattr, nfs3_proc_create(struct inode *dir, struct dentry *dentry, struct iattr *sattr,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册