On Mon, Jul 25, 2022 at 03:38:41AM -0400, Emanuele Giuseppe Esposito wrote: > Just as done with job.h, create _locked() functions in blockjob.h > > These functions will be later useful when caller has already taken > the lock. All blockjob _locked functions call job _locked functions. > > Note: at this stage, job_{lock/unlock} and job lock guard macros > are *nop*. > > Reviewed-by: Vladimir Sementsov-Ogievskiy > Signed-off-by: Emanuele Giuseppe Esposito > --- > blockjob.c | 52 ++++++++++++++++++++++++++++++++-------- > include/block/blockjob.h | 18 ++++++++++++++ > 2 files changed, 60 insertions(+), 10 deletions(-) Reviewed-by: Stefan Hajnoczi