aboutsummaryrefslogtreecommitdiffstats
path: root/fs/debugfs/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/debugfs/internal.h')
-rw-r--r--fs/debugfs/internal.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/debugfs/internal.h b/fs/debugfs/internal.h
index 0eea99432840..cb1e8139c398 100644
--- a/fs/debugfs/internal.h
+++ b/fs/debugfs/internal.h
@@ -25,4 +25,12 @@ struct debugfs_fsdata {
25 struct completion active_users_drained; 25 struct completion active_users_drained;
26}; 26};
27 27
28/*
29 * A dentry's ->d_fsdata either points to the real fops or to a
30 * dynamically allocated debugfs_fsdata instance.
31 * In order to distinguish between these two cases, a real fops
32 * pointer gets its lowest bit set.
33 */
34#define DEBUGFS_FSDATA_IS_REAL_FOPS_BIT BIT(0)
35
28#endif /* _DEBUGFS_INTERNAL_H_ */ 36#endif /* _DEBUGFS_INTERNAL_H_ */