]> git.karo-electronics.de Git - karo-tx-linux.git/commit
nfsd41: modify the members value of nfsd4_op_flags
authorMi Jinlong <mijinlong@cn.fujitsu.com>
Fri, 18 Feb 2011 01:08:31 +0000 (09:08 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 28 Mar 2011 14:31:21 +0000 (07:31 -0700)
commit0ed9bbdfe1d20f664bdb989aaecc67b3cc15ad35
tree5e844ff2374a94048384e54eb6e7a183b4f99e73
parent256fde201effd23b8b72a9a56d95dcdd2334199c
nfsd41: modify the members value of nfsd4_op_flags

commit 5ece3cafbd88d4da5c734e1810c4a2e6474b57b2 upstream.

The members of nfsd4_op_flags, (ALLOWED_WITHOUT_FH | ALLOWED_ON_ABSENT_FS)
equals to  ALLOWED_AS_FIRST_OP, maybe that's not what we want.

OP_PUTROOTFH with op_flags = ALLOWED_WITHOUT_FH | ALLOWED_ON_ABSENT_FS,
can't appears as the first operation with out SEQUENCE ops.

This patch modify the wrong value of ALLOWED_WITHOUT_FH etc which
was introduced by f9bb94c4.

Reviewed-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: Mi Jinlong <mijinlong@cn.fujitsu.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/nfsd/nfs4proc.c