diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2017-02-19 16:08:27 -0500 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2017-02-21 16:56:16 -0500 |
commit | 6da59ce2fd2047fd9cb141479f20d5f84614e84f (patch) | |
tree | 7007e354377157d35bc78de64978e652086c205a /fs/nfs/callback_xdr.c | |
parent | ab6e9aaf16cfdfca630f9745fd6d453818df7f64 (diff) |
NFSv4: Replace the open coded decode_opaque_inline() with the new generic
Also ensure that we always check that the size of the decoded object
matches the expectation that it must be smaller than NFS4_OPAQUE_LIMIT.
This should be true for all the current users of decode_opaque_inline(),
including decode_ace(), decode_pathname(), decode_attr_fs_locations()
and decode_exchange_id().
Note that this allows us to get rid of a number of existing checks in
decode_exchange_id(),
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/callback_xdr.c')
0 files changed, 0 insertions, 0 deletions