summaryrefslogtreecommitdiff
path: root/net/rds/loop.h
diff options
context:
space:
mode:
authorDinghao Liu <dinghao.liu@zju.edu.cn>2023-12-14 11:39:19 +0300
committerIra Weiny <ira.weiny@intel.com>2024-01-03 23:21:36 +0300
commit9aa6543ee6d3a717268f210b263b0f1286a0bf1e (patch)
tree0d454ad39516daf0eec656a6829927e260733543 /net/rds/loop.h
parentdeb369e0828faa245ef3c726b3d5e5f2740ac762 (diff)
downloadlinux-9aa6543ee6d3a717268f210b263b0f1286a0bf1e.tar.xz
nvdimm-btt: simplify code with the scope based resource management
Use the scope based resource management (defined in linux/cleanup.h) to automate resource lifetime control on struct btt_sb *super in discover_arenas(). Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn> Reviewed-by: Dave Jiang <dave.jiang@intel.com> Link: https://lore.kernel.org/r/20231214083919.22218-1-dinghao.liu@zju.edu.cn Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Diffstat (limited to 'net/rds/loop.h')
0 files changed, 0 insertions, 0 deletions