diff options
author | J. Bruce Fields <bfields@redhat.com> | 2012-11-01 18:09:48 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-11-07 19:39:58 -0500 |
commit | cb73a9f4649bf63c0397e565a15abf8a91ecf56f (patch) | |
tree | 96fb7200465a50047c92089ee4b504a3ebcfe9bb /fs/nfsd/nfs4proc.c | |
parent | c6bb3ca27d78b902baa143b931a8d9ef53298afa (diff) |
nfsd4: implement backchannel_ctl operation
This operation is mandatory for servers to implement.
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs4proc.c')
-rw-r--r-- | fs/nfsd/nfs4proc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c index 6c9a4b291dba..f955176f1b6f 100644 --- a/fs/nfsd/nfs4proc.c +++ b/fs/nfsd/nfs4proc.c | |||
@@ -1666,6 +1666,12 @@ static struct nfsd4_operation nfsd4_ops[] = { | |||
1666 | .op_name = "OP_EXCHANGE_ID", | 1666 | .op_name = "OP_EXCHANGE_ID", |
1667 | .op_rsize_bop = (nfsd4op_rsize)nfsd4_exchange_id_rsize, | 1667 | .op_rsize_bop = (nfsd4op_rsize)nfsd4_exchange_id_rsize, |
1668 | }, | 1668 | }, |
1669 | [OP_BACKCHANNEL_CTL] = { | ||
1670 | .op_func = (nfsd4op_func)nfsd4_backchannel_ctl, | ||
1671 | .op_flags = ALLOWED_WITHOUT_FH | OP_MODIFIES_SOMETHING, | ||
1672 | .op_name = "OP_BACKCHANNEL_CTL", | ||
1673 | .op_rsize_bop = (nfsd4op_rsize)nfsd4_only_status_rsize, | ||
1674 | }, | ||
1669 | [OP_BIND_CONN_TO_SESSION] = { | 1675 | [OP_BIND_CONN_TO_SESSION] = { |
1670 | .op_func = (nfsd4op_func)nfsd4_bind_conn_to_session, | 1676 | .op_func = (nfsd4op_func)nfsd4_bind_conn_to_session, |
1671 | .op_flags = ALLOWED_WITHOUT_FH | ALLOWED_AS_FIRST_OP | 1677 | .op_flags = ALLOWED_WITHOUT_FH | ALLOWED_AS_FIRST_OP |