]> git.baikalelectronics.ru Git - kernel.git/commit
nfs: set FILE_CREATED
authorMiklos Szeredi <mszeredi@suse.cz>
Mon, 16 Sep 2013 12:52:04 +0000 (14:52 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 16 Sep 2013 23:17:24 +0000 (19:17 -0400)
commit4a32774f2758f518c090cd7c7d3426a9757abefc
tree574456d59f55fbce54c7d95af4c900b1645dd836
parent506be05c5f5fa8b1a1f2cc2a853b2019849f7a26
nfs: set FILE_CREATED

Set FILE_CREATED on O_CREAT|O_EXCL.  If the NFS server honored our request
for exclusivity then this must be correct.

Currently this is a no-op, since the VFS sets FILE_CREATED anyway.  The
next patch will, however, require this flag to be always set by
filesystems.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/nfs/dir.c