]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit1b6b2257dc5a88aae375ff44485f8d6c4ee800e4
treef501c82b95c8383a9bc12f68337ad79a5697fe56
parente2f282b9f0538e4f63255ffa35bf3b902f5fbde2
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