Hi all, I saw some tasks to replace manual lock()/unlock() calls with lock guard macros in BiteSizedTasks. I am very interested in this and modified some of the files under block. Could someone help me check the code?
Thanks, Gan Qixin Gan Qixin (4): block/accounting.c: Use lock guard macros block/curl.c: Use lock guard macros block/throttle-groups.c: Use lock guard macros block/iscsi.c: Use lock guard macros block/accounting.c | 32 +++++++++++++-------------- block/curl.c | 28 ++++++++++++------------ block/iscsi.c | 28 +++++++++++------------- block/throttle-groups.c | 48 ++++++++++++++++++++--------------------- 4 files changed, 65 insertions(+), 71 deletions(-) -- 2.23.0