Skip to content

Commit d939551

Browse files
committed
Merge tag 'pull-work.namei' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull vfs namei updates from Al Viro: "RCU pathwalk cleanups. Storing sampled ->d_seq of the next dentry in nameidata simplifies life considerably, especially if we delay fetching ->d_inode until step_into()" * tag 'pull-work.namei' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: step_into(): move fetching ->d_inode past handle_mounts() lookup_fast(): don't bother with inode follow_dotdot{,_rcu}(): don't bother with inode step_into(): lose inode argument namei: stash the sampled ->d_seq into nameidata namei: move clearing LOOKUP_RCU towards rcu_read_unlock() switch try_to_unlazy_next() to __legitimize_mnt() follow_dotdot{,_rcu}(): change calling conventions namei: get rid of pointless unlikely(read_seqcount_retry(...)) __follow_mount_rcu(): verify that mount_lock remains unchanged
2 parents f006540 + 3bd8bc8 commit d939551

File tree

3 files changed

+86
-108
lines changed

3 files changed

+86
-108
lines changed

fs/mount.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ static inline int is_mounted(struct vfsmount *mnt)
100100
extern struct mount *__lookup_mnt(struct vfsmount *, struct dentry *);
101101

102102
extern int __legitimize_mnt(struct vfsmount *, unsigned);
103-
extern bool legitimize_mnt(struct vfsmount *, unsigned);
104103

105104
static inline bool __path_is_mountpoint(const struct path *path)
106105
{

0 commit comments

Comments
 (0)