summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2005-10-18 14:20:17 -0700
committerTrond Myklebust <Trond.Myklebust@netapp.com>2005-10-18 14:20:17 -0700
commit02a913a73b52071e93f4b76db3e86138d19efffd (patch)
tree1dc1abbd2d8f57a6fd593dd252d6d7ecc7c811c5 /include/linux
parent834f2a4a1554dc5b2598038b3fe8703defcbe467 (diff)
downloadop-kernel-dev-02a913a73b52071e93f4b76db3e86138d19efffd.zip
op-kernel-dev-02a913a73b52071e93f4b76db3e86138d19efffd.tar.gz
NFSv4: Eliminate nfsv4 open race...
Make NFSv4 return the fully initialized file pointer with the stateid that it created in the lookup w/intent. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/nfs_xdr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index 57efcc2..60086da 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -712,7 +712,7 @@ struct nfs_rpc_ops {
int (*write) (struct nfs_write_data *);
int (*commit) (struct nfs_write_data *);
int (*create) (struct inode *, struct dentry *,
- struct iattr *, int);
+ struct iattr *, int, struct nameidata *);
int (*remove) (struct inode *, struct qstr *);
int (*unlink_setup) (struct rpc_message *,
struct dentry *, struct qstr *);
OpenPOWER on IntegriCloud