diff options
| author | Omar Sandoval <[email protected]> | 2025-04-08 20:00:53 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2025-04-11 13:24:29 +0000 |
| commit | b2b4483b5d05026218127fc8f38c69adf69c235b (patch) | |
| tree | 3de53d63a97195f413178371cb4dad2c423f3b00 /drivers/fpga/tests/fpga-mgr-test.c | |
| parent | afs: Fix afs_dynroot_readdir() to not use the RCU read lock (diff) | |
| download | kernel-b2b4483b5d05026218127fc8f38c69adf69c235b.tar.gz kernel-b2b4483b5d05026218127fc8f38c69adf69c235b.zip | |
dcache: convert dentry flag macros to enum
Commit 9748cb2dc393 ("VFS: repack DENTRY_ flags.") changed the value of
DCACHE_MOUNTED, which broke drgn's path_lookup() helper. drgn is forced
to hard-code it because it's a macro, and macros aren't preserved in
debugging information by default.
Enums, on the other hand, are included in debugging information. Convert
the DCACHE_* flag macros to an enum so that debugging tools like drgn
and bpftrace can make use of them.
Link: https://github.com/osandov/drgn/blob/2027d0fea84d74b835e77392f7040c2a333180c6/drgn/helpers/linux/fs.py#L43-L46
Signed-off-by: Omar Sandoval <[email protected]>
Link: https://lore.kernel.org/177665a082f048cf536b9cd6af467b3be6b6e6ed.1744141838.git.osandov@fb.com
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions
