summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/xdr4.h
diff options
context:
space:
mode:
authorAnna Schumaker <Anna.Schumaker@Netapp.com>2014-11-07 14:44:27 -0500
committerJ. Bruce Fields <bfields@redhat.com>2014-11-07 16:20:15 -0500
commitb0cb9085239a20b7482ddd4839dd1d5476801dfa (patch)
treeb636c01e14d11b8f565d022334b43e54f99103e2 /fs/nfsd/xdr4.h
parent95d871f03cae6b49de040265cf88cbe2a16b9f05 (diff)
downloadop-kernel-dev-b0cb9085239a20b7482ddd4839dd1d5476801dfa.zip
op-kernel-dev-b0cb9085239a20b7482ddd4839dd1d5476801dfa.tar.gz
nfsd: Add DEALLOCATE support
DEALLOCATE only returns a status value, meaning we can use the noop() xdr encoder to reply to the client. Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/xdr4.h')
-rw-r--r--fs/nfsd/xdr4.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/xdr4.h b/fs/nfsd/xdr4.h
index eeaa0d0..90a5925 100644
--- a/fs/nfsd/xdr4.h
+++ b/fs/nfsd/xdr4.h
@@ -494,6 +494,7 @@ struct nfsd4_op {
/* NFSv4.2 */
struct nfsd4_fallocate allocate;
+ struct nfsd4_fallocate deallocate;
struct nfsd4_seek seek;
} u;
struct nfs4_replay * replay;
OpenPOWER on IntegriCloud