NFSD: provide encode routine for OP_OPENATTR
authorBenny Halevy <bhalevy@panasas.com>
Wed, 4 Mar 2009 21:05:35 +0000 (23:05 +0200)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Tue, 17 Mar 2009 18:54:45 +0000 (14:54 -0400)
commit84f09f46b4ee9e4e9b6381f8af31817516d2091b
tree33fd95cf666577e0f1b592719851da09de7c0f5c
parentee568b25ee9e160b32d1aef73d8b2ee9c05d34db
NFSD: provide encode routine for OP_OPENATTR

Although this operation is unsupported by our implementation
we still need to provide an encode routine for it to
merely encode its (error) status back in the compound reply.

Thanks for Bill Baker at sun.com for testing with the Sun
OpenSolaris' client, finding, and reporting this bug at
Connectathon 2009.

This bug was introduced in 2.6.27

Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Cc: stable@kernel.org
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/nfsd/nfs4xdr.c