diff options
author | Mi Jinlong <mijinlong@cn.fujitsu.com> | 2011-04-20 17:06:25 +0800 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2011-04-29 20:47:52 -0400 |
commit | ac6721a13e5b1a90728e790600f827a5e5f5da2f (patch) | |
tree | f39f1faaaa4059956d8fde5fbb29fc5500d1e513 /fs/nfsd/nfs3proc.c | |
parent | 68d93184352f2e723f135b0a9bad93b58f9d120b (diff) | |
download | blackbird-op-linux-ac6721a13e5b1a90728e790600f827a5e5f5da2f.tar.gz blackbird-op-linux-ac6721a13e5b1a90728e790600f827a5e5f5da2f.zip |
nfsd41: make sure nfs server process OPEN with EXCLUSIVE4_1 correctly
The NFS server uses nfsd_create_v3 to handle EXCLUSIVE4_1 opens, but
that function is not prepared to handle them.
Rename nfsd_create_v3() to do_nfsd_create(), and add handling of
EXCLUSIVE4_1.
Signed-off-by: Mi Jinlong <mijinlong@cn.fujitsu.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs3proc.c')
-rw-r--r-- | fs/nfsd/nfs3proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs3proc.c b/fs/nfsd/nfs3proc.c index 2247fc91d5e9..9095f3c21df9 100644 --- a/fs/nfsd/nfs3proc.c +++ b/fs/nfsd/nfs3proc.c @@ -245,7 +245,7 @@ nfsd3_proc_create(struct svc_rqst *rqstp, struct nfsd3_createargs *argp, } /* Now create the file and set attributes */ - nfserr = nfsd_create_v3(rqstp, dirfhp, argp->name, argp->len, + nfserr = do_nfsd_create(rqstp, dirfhp, argp->name, argp->len, attr, newfhp, argp->createmode, argp->verf, NULL, NULL); |