diff options
| author | NeilBrown <neil@brown.name> | 2026-09-05 07:48:16 +1000 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-09-25 16:27:20 +0200 |
| commit | fd96e30426ff3e1352309ccf6843dc7fd9d38fde (patch) | |
| tree | a6059679082b378cd32718c6295c877cee4c0105 /include/linux | |
| parent | 59492f9991dc19d5cc2c34295f1403d0f211e734 (diff) | |
| download | linux-fd96e30426ff3e1352309ccf6843dc7fd9d38fde.tar.gz linux-fd96e30426ff3e1352309ccf6843dc7fd9d38fde.zip | |
VFS: reserve a d_flags bit for fs-specific usage
DCACHE_PRIVATE may be used by any filesystem for its own purposes, much
like d_fsdata and d_time.
I plan to use this in a similar manner the way nfs stores
NFS_FSDATA_BLOCKED in d_fsdata.
Signed-off-by: NeilBrown <neil@brown.name>
Link: https://patch.msgid.link/20260904215142.1060510-8-neilb@ownmail.net
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/dcache.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/dcache.h b/include/linux/dcache.h index e7e3ef05313b..adf239f8205f 100644 --- a/include/linux/dcache.h +++ b/include/linux/dcache.h @@ -238,7 +238,9 @@ enum dentry_flags { DCACHE_PAR_LOOKUP = BIT(24), /* being looked up (with parent locked shared) */ DCACHE_DENTRY_CURSOR = BIT(25), DCACHE_NORCU = BIT(26), /* No RCU delay for freeing */ - DCACHE_PERSISTENT = BIT(27) + DCACHE_PERSISTENT = BIT(27), +/* 28, 29, 30 free */ + DCACHE_PRIVATE = BIT(31) /* fs-specific flag */ }; #define DCACHE_MANAGED_DENTRY \ |
