diff options
| author | NeilBrown <neil@brown.name> | 2026-10-03 08:35:44 +1000 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-10-16 10:07:55 +0200 |
| commit | a5478f5c226bfa551170b6b07227c2793b699ee5 (patch) | |
| tree | 612e847ee6eae6a5a851c213a454cf1afdd46301 /tools/lib/python/kdoc/parse_data_structs.py | |
| parent | 11f6be214ba3ba33592ade7d0645f235de727999 (diff) | |
| download | linux-next-a5478f5c226bfa551170b6b07227c2793b699ee5.tar.gz linux-next-a5478f5c226bfa551170b6b07227c2793b699ee5.zip | |
ovl: provide private lockdep class for dentry->dep_map
Now that d_alloc_parallel() locking is tracked by lockdep, ovl needs to
take care that it doesn't trigger on deliberate recursion into
subordinate filesystems. As ovl can stack over itself, the use
of the per-file_system_type d_lookup_key is not enough.
So provide a .d_init() function to update the map as it already done for
i_rwsem and ovl_inode.lock.
Reported-and-tested-by: "Borah, Chaitanya Kumar" <chaitanya.kumar.borah@intel.com>
Link: https://lore.kernel.org/all/e3772a51-eabc-4c31-b73d-f3187bf1b3b2@intel.com/
Fixes: 59492f9991dc ("VFS: add lockdep monitoring of DCACHE_PAR_LOOKUP lock.")
Signed-off-by: NeilBrown <neil@brown.name>
Link: https://patch.msgid.link/20261002223746.3248726-4-neilb@ownmail.net
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions
