Pull misc vfs updates from Al Viro: "Assorted patches from previous cycle(s)..." * 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: fix hostfs_open() use of ->f_path.dentry Make sure that make_create_in_sticky() never sees uninitialized value of dir_mode fs: Kill DCACHE_DONTCACHE dentry even if DCACHE_REFERENCED is set fs: Handle I_DONTCACHE in iput_final() instead of generic_drop_inode() fs/namespace.c: WARN if mnt_count has become negative
Showing the changes to include (1 of 7 files). Show all
Unified · Split
| @@ -2876,8 +2876,7 @@ extern int inode_needs_sync(struct inode *inode); · 2875 unmodified lines | |||
| 2876 | extern int generic_delete_inode(struct inode *inode); | 2876 | extern int generic_delete_inode(struct inode *inode); |
| 2877 | static inline int generic_drop_inode(struct inode *inode) | 2877 | static inline int generic_drop_inode(struct inode *inode) |
| 2878 | { | 2878 | { |
| 2879 | return !inode->i_nlink || inode_unhashed(inode) || | 2879 | return !inode->i_nlink || inode_unhashed(inode); |
| 2880 | (inode->i_state & I_DONTCACHE); | ||
| 2881 | } | 2880 | } |
| 2882 | extern void d_mark_dontcache(struct inode *inode); | 2881 | extern void d_mark_dontcache(struct inode *inode); |
| 2883 | 2882 | ||