diff options
| author | Kent Overstreet | 2021-03-16 00:46:26 -0400 |
|---|---|---|
| committer | Kent Overstreet | 2023-10-22 17:09:12 -0400 |
| commit | b9e1adf57988fb4632b86c43fde1551a24299b86 (patch) | |
| tree | 3f6d8942ede2c864a84cb66501bf80d7682c60a7 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 14b393ee768e8339b9c64f82df24e8c081bdbff9 (diff) | |
bcachefs: Add support for dirents that point to subvolumes
Dirents currently always point to inodes. Subvolumes add a new type of
dirent, with d_type DT_SUBVOL, that instead points to an entry in the
subvolumes btree, and the subvolume has a pointer to the root inode.
This patch adds bch2_dirent_read_target() to get the inode (and
potentially subvolume) a dirent points to, and changes existing code to
use that instead of reading from d_inum directly.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
