aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorYishai Hadas <[email protected]>2023-09-11 12:38:50 +0300
committerAlex Williamson <[email protected]>2023-09-28 13:07:29 -0600
commit34a64c8eac2380a28eeab191dc5bf4e0dbadf7c6 (patch)
tree908c163cfb1f2aebcc70eb1179b86fe4d4fa026b /rust/helpers/helpers.c
parent82470eba9df97a021309b360ec48342deaa3c7af (diff)
vfio/mlx5: Refactor the SAVE callback to activate a work only upon an error
Upon a successful SAVE callback there is no need to activate a work, all the required stuff can be done directly. As so, refactor the above flow to activate a work only upon an error. Signed-off-by: Yishai Hadas <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions