diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2013-06-05 11:15:02 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-06-08 16:20:18 -0400 |
commit | 6b140b85d92bd65db44f0a7a065b2e39a91e9a9d (patch) | |
tree | 5fb725e6877f30cb2bc8d39d6fbe37142543bfa7 /fs/nfs/callback.h | |
parent | 459de2edb9105a5d091f8215650e12c0812d59f3 (diff) | |
download | op-kernel-dev-6b140b85d92bd65db44f0a7a065b2e39a91e9a9d.zip op-kernel-dev-6b140b85d92bd65db44f0a7a065b2e39a91e9a9d.tar.gz |
NFS: Add in v4.2 callback operation
NFS v4.2 adds a CB_OFFLOAD operation used by COPY and WRITE_PLUS. Since
neither of these operations have been implemented yet, simply return
NFS4ERR_NOTSUPP.
Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/callback.h')
-rw-r--r-- | fs/nfs/callback.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/callback.h b/fs/nfs/callback.h index 41cf893..84326e9 100644 --- a/fs/nfs/callback.h +++ b/fs/nfs/callback.h @@ -32,6 +32,8 @@ enum nfs4_callback_opnum { OP_CB_WANTS_CANCELLED = 12, OP_CB_NOTIFY_LOCK = 13, OP_CB_NOTIFY_DEVICEID = 14, +/* Callback operations new to NFSv4.2 */ + OP_CB_OFFLOAD = 15, OP_CB_ILLEGAL = 10044, }; |