diff options
| author | Baokun Li <libaokun1@huawei.com> | 2024-08-22 10:35:29 +0800 |
|---|---|---|
| committer | Theodore Ts'o <tytso@mit.edu> | 2024-09-03 22:12:17 -0400 |
| commit | 6c2b3246cd0b951338c54b10f8ca13c59a41c86a (patch) | |
| tree | 6f186036ea85f3afcfd9a22baa6c9eafc7971b58 /lib/debugobjects.c | |
| parent | dcaa6c31134c0f515600111c38ed7750003e1b9c (diff) | |
ext4: add new ext4_ext_path_brelse() helper
Add ext4_ext_path_brelse() helper function to reduce duplicate code
and ensure that path->p_bh is set to NULL after it is released.
Signed-off-by: Baokun Li <libaokun1@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Ojaswin Mujoo <ojaswin@linux.ibm.com>
Tested-by: Ojaswin Mujoo <ojaswin@linux.ibm.com>
Link: https://patch.msgid.link/20240822023545.1994557-10-libaokun@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
