diff options
| author | Amir Goldstein <[email protected]> | 2021-08-10 18:12:18 +0300 |
|---|---|---|
| committer | Jan Kara <[email protected]> | 2021-08-11 13:50:42 +0200 |
| commit | 11fa333b58ba1518e7c69fafb6513a0117f8fe33 (patch) | |
| tree | 86e5c5139a0741829ed501f616db9280bfec72ed /tools/lib/api/fs/tracing_path.c | |
| parent | 09ddbe69c9925b42cb9529f60678c25b241d8b18 (diff) | |
fsnotify: count s_fsnotify_inode_refs for attached connectors
Instead of incrementing s_fsnotify_inode_refs when detaching connector
from inode, increment it earlier when attaching connector to inode.
Next patch is going to use s_fsnotify_inode_refs to count all objects
with attached connectors.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Matthew Bobrowski <[email protected]>
Signed-off-by: Amir Goldstein <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'tools/lib/api/fs/tracing_path.c')
0 files changed, 0 insertions, 0 deletions