aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2019-10-23 10:35:44 -0600
committerJens Axboe <[email protected]>2019-11-04 10:56:42 -0700
commite9061c397839eea34207668bfedce0a6c18c5015 (patch)
tree07ed5f1fff8c579ab7fff79387977102afa3d4ed /net/switchdev/switchdev.c
parent59ef0eaa7741c3543f98220cc132c61bf0230bce (diff)
nvmet: Remove the data_len field from the nvmet_req struct
Instead of storing the expected length and checking it when it's executed, just check the length inside the command themselves. A new helper, nvmet_check_data_len() is created to help with this check. Signed-off-by: Christoph Hellwig <[email protected]> [split patch, udpate changelog] Signed-off-by: Logan Gunthorpe <[email protected]> Signed-off-by: Keith Busch <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions