Skip to content
Commit c738b218 authored by Chuck Lever's avatar Chuck Lever
Browse files

NFSD: Clean up SPLICE_OK in nfsd4_encode_read()



Do the test_bit() once -- this reduces the number of locked-bus
operations and makes the function a little easier to read.

Reviewed-by: default avatarJeff Layton <jlayton@kernel.org>
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent ab04de60
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment