nfsd41: make sure nfs server process OPEN with EXCLUSIVE4_1 correctly
authorMi Jinlong <mijinlong@cn.fujitsu.com>
Wed, 20 Apr 2011 09:06:25 +0000 (17:06 +0800)
committerJ. Bruce Fields <bfields@redhat.com>
Sat, 30 Apr 2011 00:47:52 +0000 (20:47 -0400)
commitac6721a13e5b1a90728e790600f827a5e5f5da2f
treef39f1faaaa4059956d8fde5fbb29fc5500d1e513
parent68d93184352f2e723f135b0a9bad93b58f9d120b
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>
fs/nfsd/nfs3proc.c
fs/nfsd/nfs4proc.c
fs/nfsd/vfs.c
fs/nfsd/vfs.h