]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: don't declare p in ENCODE_SEQID_OP_HEAD
authorBenny Halevy <bhalevy@panasas.com>
Tue, 12 Aug 2008 17:45:28 +0000 (20:45 +0300)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Mon, 29 Sep 2008 21:56:58 +0000 (17:56 -0400)
commit51c03c3a5e1e8d13d34130aecd6e48e19177ad8c
treef501c82b95c8383a9bc12f68337ad79a5697fe56
parentd2596ed9ac963e0a37acc9bc7f526103ce7ad3e0
nfsd: don't declare p in ENCODE_SEQID_OP_HEAD

After using the encode_stateid helper the "p" pointer declared
by ENCODE_SEQID_OP_HEAD is warned as unused.
In the single site where it is still needed it can be declared
separately using the ENCODE_HEAD macro.

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