diff options
Diffstat (limited to 'include/linux/dcache.h')
-rw-r--r-- | include/linux/dcache.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/linux/dcache.h b/include/linux/dcache.h index 59fcd24b1468..ee6c26d142c3 100644 --- a/include/linux/dcache.h +++ b/include/linux/dcache.h | |||
@@ -167,6 +167,7 @@ struct dentry_operations { | |||
167 | void (*d_release)(struct dentry *); | 167 | void (*d_release)(struct dentry *); |
168 | void (*d_iput)(struct dentry *, struct inode *); | 168 | void (*d_iput)(struct dentry *, struct inode *); |
169 | char *(*d_dname)(struct dentry *, char *, int); | 169 | char *(*d_dname)(struct dentry *, char *, int); |
170 | struct vfsmount *(*d_automount)(struct path *); | ||
170 | } ____cacheline_aligned; | 171 | } ____cacheline_aligned; |
171 | 172 | ||
172 | /* | 173 | /* |
@@ -205,13 +206,17 @@ struct dentry_operations { | |||
205 | 206 | ||
206 | #define DCACHE_CANT_MOUNT 0x0100 | 207 | #define DCACHE_CANT_MOUNT 0x0100 |
207 | #define DCACHE_GENOCIDE 0x0200 | 208 | #define DCACHE_GENOCIDE 0x0200 |
208 | #define DCACHE_MOUNTED 0x0400 /* is a mountpoint */ | ||
209 | 209 | ||
210 | #define DCACHE_OP_HASH 0x1000 | 210 | #define DCACHE_OP_HASH 0x1000 |
211 | #define DCACHE_OP_COMPARE 0x2000 | 211 | #define DCACHE_OP_COMPARE 0x2000 |
212 | #define DCACHE_OP_REVALIDATE 0x4000 | 212 | #define DCACHE_OP_REVALIDATE 0x4000 |
213 | #define DCACHE_OP_DELETE 0x8000 | 213 | #define DCACHE_OP_DELETE 0x8000 |
214 | 214 | ||
215 | #define DCACHE_MOUNTED 0x10000 /* is a mountpoint */ | ||
216 | #define DCACHE_NEED_AUTOMOUNT 0x20000 /* handle automount on this dir */ | ||
217 | #define DCACHE_MANAGED_DENTRY \ | ||
218 | (DCACHE_MOUNTED|DCACHE_NEED_AUTOMOUNT) | ||
219 | |||
215 | extern seqlock_t rename_lock; | 220 | extern seqlock_t rename_lock; |
216 | 221 | ||
217 | static inline int dname_external(struct dentry *dentry) | 222 | static inline int dname_external(struct dentry *dentry) |