diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-07-08 13:50:54 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-07-08 13:50:54 -0400 |
| commit | b8d4c1f9f48e344fe1d6e6ffae01d4b31bf0aac0 (patch) | |
| tree | 24685a7b0ebf8af0ff55f1384e0be125aa29da47 /include/linux/dcache.h | |
| parent | 090a81d8766e21d33ab3e4d24e6c8e5eedf086dd (diff) | |
| parent | 49d31c2f389acfe83417083e1208422b4091cd9e (diff) | |
Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull misc filesystem updates from Al Viro:
"Assorted normal VFS / filesystems stuff..."
* 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
dentry name snapshots
Make statfs properly return read-only state after emergency remount
fs/dcache: init in_lookup_hashtable
minix: Deinline get_block, save 2691 bytes
fs: Reorder inode_owner_or_capable() to avoid needless
fs: warn in case userspace lied about modprobe return
Diffstat (limited to 'include/linux/dcache.h')
| -rw-r--r-- | include/linux/dcache.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/dcache.h b/include/linux/dcache.h index d2e38dc6172c..025727bf6797 100644 --- a/include/linux/dcache.h +++ b/include/linux/dcache.h | |||
| @@ -591,5 +591,11 @@ static inline struct inode *d_real_inode(const struct dentry *dentry) | |||
| 591 | return d_backing_inode(d_real((struct dentry *) dentry, NULL, 0)); | 591 | return d_backing_inode(d_real((struct dentry *) dentry, NULL, 0)); |
| 592 | } | 592 | } |
| 593 | 593 | ||
| 594 | struct name_snapshot { | ||
| 595 | const char *name; | ||
| 596 | char inline_name[DNAME_INLINE_LEN]; | ||
| 597 | }; | ||
| 598 | void take_dentry_name_snapshot(struct name_snapshot *, struct dentry *); | ||
| 599 | void release_dentry_name_snapshot(struct name_snapshot *); | ||
| 594 | 600 | ||
| 595 | #endif /* __LINUX_DCACHE_H */ | 601 | #endif /* __LINUX_DCACHE_H */ |
