aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorChaitanya Kulkarni <[email protected]>2020-08-06 13:02:23 -0700
committerJens Axboe <[email protected]>2020-08-21 17:14:27 -0600
commit4db69a3d7cfe31e0205bfcb6de331aa9a124cb10 (patch)
tree15ad1817cdc53360fd09fdbbb7dec4264a79d2fe /include/linux/fpga/fpga-mgr.h
parente398863b75af24103cee69cc8ee8bf4bc9c8913e (diff)
nvmet: add ns tear down label for pt-cmd handling
In the current implementation before submitting the passthru cmd we may come across error e.g. getting ns from passthru controller, allocating a request from passthru controller, etc. For all the failure cases it only uses single goto label fail_out. In the target code, we follow the pattern to have a separate label for each error out the case when setting up multiple things before the actual action. This patch follows the same pattern and renames generic fail_out label to out_put_ns and updates the error out cases in the nvmet_passthru_execute_cmd() where it is needed. Signed-off-by: Chaitanya Kulkarni <[email protected]> Reviewed-by: Logan Gunthorpe <[email protected]> Signed-off-by: Sagi Grimberg <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions