diff options
| author | Marcos Paulo de Souza <mpdesouza@suse.com> | 2021-07-26 16:19:09 -0300 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2021-08-23 13:19:02 +0200 |
| commit | a7d1c5dc8632e9b370ad26478c468d4e4e29f263 (patch) | |
| tree | e5059036c116515433126cf967152b215431c303 /scripts/gdb/linux/dmesg.py | |
| parent | f8ee80de7bcf57bada19df887d8a7f87fd179cfa (diff) | |
btrfs: introduce btrfs_lookup_match_dir
btrfs_search_slot is called in multiple places in dir-item.c to search
for a dir entry, and then calling btrfs_match_dir_name to return a
btrfs_dir_item.
In order to reduce the number of callers of btrfs_search_slot, create a
common function that looks for the dir key, and if found call
btrfs_match_dir_item_name.
Signed-off-by: Marcos Paulo de Souza <mpdesouza@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/gdb/linux/dmesg.py')
0 files changed, 0 insertions, 0 deletions
