diff options
author | 2023-09-13 16:11:29 +0200 | |
---|---|---|
committer | 2024-03-04 16:24:49 +0100 | |
commit | c8293894afa718653688b2fa98ab68317c875a00 (patch) | |
tree | 470bf3dfdc68cdaea79bd4ef0c9c8d7fa2811d96 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: tests: allocate dummy fs_info and root in test_find_delalloc() (diff) | |
download | linux-rng-c8293894afa718653688b2fa98ab68317c875a00.tar.xz linux-rng-c8293894afa718653688b2fa98ab68317c875a00.zip |
btrfs: add helpers to get inode from page/folio pointers
Add convenience helpers to get a struct btrfs_inode from a page or folio
pointer instead of open coding the chain or intermediate BTRFS_I. This
is implemented as a macro (still with type checking) so we don't need
full definitions of struct page or address_space.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions