diff options
author | 2024-08-22 10:35:29 +0800 | |
---|---|---|
committer | 2024-09-03 22:12:17 -0400 | |
commit | 6c2b3246cd0b951338c54b10f8ca13c59a41c86a (patch) | |
tree | 6f186036ea85f3afcfd9a22baa6c9eafc7971b58 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | ext4: fix double brelse() the buffer of the extents path (diff) | |
download | wireguard-linux-6c2b3246cd0b951338c54b10f8ca13c59a41c86a.tar.xz wireguard-linux-6c2b3246cd0b951338c54b10f8ca13c59a41c86a.zip |
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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions