nfsd: using nfsd4_encode_noop for encoding destroy_session/free_stateid
authorKinglong Mee <kinglongmee@gmail.com>
Mon, 9 Dec 2013 11:04:23 +0000 (19:04 +0800)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 3 Jan 2014 18:44:22 +0000 (13:44 -0500)
commit43212cc7dfee0ca33d1f0f23652c70317ee031e6
treeb4f25d3d4b759cf75b8a7cd141e1a1ca50ec2d33
parenta9f7b4a06c9704fa3cfe0b0601347e03289a7407
nfsd: using nfsd4_encode_noop for encoding destroy_session/free_stateid

Get rid of the extra code, using nfsd4_encode_noop for encoding destroy_session and free_stateid.
And, delete unused argument (fr_status) int nfsd4_free_stateid.

Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4xdr.c
fs/nfsd/xdr4.h