diff options
author | Chuck Lever <[email protected]> | 2024-09-05 15:09:41 -0400 |
---|---|---|
committer | Anna Schumaker <[email protected]> | 2024-09-23 15:03:30 -0400 |
commit | 71c61a0077eb11e8bcc4d03e92ebc0c16df46abe (patch) | |
tree | 8cb2202945e6c305e0eabaf5d450d9ac3b9d8834 /lib/crypto/mpi/mpi-sub-ui.c | |
parent | 7c0b07b49b2da108438e2504452effe0e6cbb764 (diff) |
NFSD: Short-circuit fh_verify tracepoints for LOCALIO
LOCALIO will be able to call fh_verify() with a NULL rqstp. In this
case, the existing trace points need to be skipped because they
want to dereference the address fields in the passed-in rqstp.
Temporarily make these trace points conditional to avoid a seg
fault in this case. Putting the "rqstp != NULL" check in the trace
points themselves makes the check more efficient.
Signed-off-by: Chuck Lever <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Acked-by: Jeff Layton <[email protected]>
Reviewed-by: NeilBrown <[email protected]>
Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions