On Tue, 08 Apr 2025 13:00:53 -0700, Omar Sandoval wrote: > 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. > > [...] This seems good to me and helps drgn. I've reflowed the enum a bit. --- Applied to the vfs.fixes branch of the vfs/vfs.git tree. Patches in the vfs.fixes branch should appear in linux-next soon. Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it. It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated. Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch. tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git branch: vfs.fixes [1/1] dcache: convert dentry flag macros to enum https://git.kernel.org/vfs/vfs/c/63690b75feb1