diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-09-17 10:56:51 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-09-17 10:56:51 -0400 |
commit | 2b484297e48c3fbb1846fc6ea10036d9465273e7 (patch) | |
tree | bfd8f5cfba73b597d5277ba48e02fd2c13ece9b3 /fs/nfs/nfs4proc.c | |
parent | c0204fd2b8fe047b18b67e07e1bf2a03691240cd (diff) |
NFS: Add an 'open_context' element to struct nfs_rpc_ops
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r-- | fs/nfs/nfs4proc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index 617b149ee16d..643abd26f2de 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c | |||
@@ -1998,7 +1998,7 @@ out: | |||
1998 | return status; | 1998 | return status; |
1999 | } | 1999 | } |
2000 | 2000 | ||
2001 | struct inode * | 2001 | static struct inode * |
2002 | nfs4_atomic_open(struct inode *dir, struct nfs_open_context *ctx, int open_flags, struct iattr *attr) | 2002 | nfs4_atomic_open(struct inode *dir, struct nfs_open_context *ctx, int open_flags, struct iattr *attr) |
2003 | { | 2003 | { |
2004 | struct nfs4_state *state; | 2004 | struct nfs4_state *state; |
@@ -5358,6 +5358,7 @@ const struct nfs_rpc_ops nfs_v4_clientops = { | |||
5358 | .lock = nfs4_proc_lock, | 5358 | .lock = nfs4_proc_lock, |
5359 | .clear_acl_cache = nfs4_zap_acl_attr, | 5359 | .clear_acl_cache = nfs4_zap_acl_attr, |
5360 | .close_context = nfs4_close_context, | 5360 | .close_context = nfs4_close_context, |
5361 | .open_context = nfs4_atomic_open, | ||
5361 | }; | 5362 | }; |
5362 | 5363 | ||
5363 | /* | 5364 | /* |