diff options
| author | Chaitanya Kulkarni <[email protected]> | 2021-06-10 01:32:50 +0000 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2021-06-17 13:51:20 +0000 |
| commit | 9a01b58c22ccabd00e990e9dc01c2de5865d6e4d (patch) | |
| tree | a2228fa03acbf1d1e8514e92d1e1bedae5e05344 /net/switchdev/switchdev.c | |
| parent | nvmet: add req cns error complete helper (diff) | |
| download | kernel-9a01b58c22ccabd00e990e9dc01c2de5865d6e4d.tar.gz kernel-9a01b58c22ccabd00e990e9dc01c2de5865d6e4d.zip | |
nvmet: add nvmet_req_bio put helper for backends
In current code there exists two backends which are using inline bio
optimization, that adds a duplicate code for freeing the bio.
For Zoned Block Device backend we also use the same optimzation and it
will lead to having duplicate code in the three backends: generic
bdev, passsthru, and generic zns.
Add a helper function to avoid duplicate code and update the respective
backends.
Signed-off-by: Chaitanya Kulkarni <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
