The patch titled autofs4: change uses of f_{dentry, vfsmnt} to use f_path has been added to the -mm tree. Its filename is autofs4-change-uses-of-f_dentry.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: autofs4: change uses of f_{dentry, vfsmnt} to use f_path From: Josef "Jeff" Sipek <jsipek@xxxxxxxxxxxxx> Change all the uses of f_{dentry,vfsmnt} to f_path.{dentry,mnt} in the autofs4 filesystem. Signed-off-by: Josef "Jeff" Sipek <jsipek@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/autofs4/autofs_i.h | 3 ++- fs/autofs4/root.c | 16 ++++++++-------- 2 files changed, 10 insertions(+), 9 deletions(-) diff -puN fs/autofs4/autofs_i.h~autofs4-change-uses-of-f_dentry fs/autofs4/autofs_i.h --- a/fs/autofs4/autofs_i.h~autofs4-change-uses-of-f_dentry +++ a/fs/autofs4/autofs_i.h @@ -150,7 +150,8 @@ static inline int autofs4_ispending(stru static inline void autofs4_copy_atime(struct file *src, struct file *dst) { - dst->f_dentry->d_inode->i_atime = src->f_dentry->d_inode->i_atime; + dst->f_path.dentry->d_inode->i_atime = + src->f_path.dentry->d_inode->i_atime; return; } diff -puN fs/autofs4/root.c~autofs4-change-uses-of-f_dentry fs/autofs4/root.c --- a/fs/autofs4/root.c~autofs4-change-uses-of-f_dentry +++ a/fs/autofs4/root.c @@ -74,7 +74,7 @@ struct inode_operations autofs4_dir_inod static int autofs4_root_readdir(struct file *file, void *dirent, filldir_t filldir) { - struct autofs_sb_info *sbi = autofs4_sbi(file->f_dentry->d_sb); + struct autofs_sb_info *sbi = autofs4_sbi(file->f_path.dentry->d_sb); int oz_mode = autofs4_oz_mode(sbi); DPRINTK("called, filp->f_pos = %lld", file->f_pos); @@ -95,8 +95,8 @@ static int autofs4_root_readdir(struct f static int autofs4_dir_open(struct inode *inode, struct file *file) { - struct dentry *dentry = file->f_dentry; - struct vfsmount *mnt = file->f_vfsmnt; + struct dentry *dentry = file->f_path.dentry; + struct vfsmount *mnt = file->f_path.mnt; struct autofs_sb_info *sbi = autofs4_sbi(dentry->d_sb); struct dentry *cursor; int status; @@ -172,7 +172,7 @@ out: static int autofs4_dir_close(struct inode *inode, struct file *file) { - struct dentry *dentry = file->f_dentry; + struct dentry *dentry = file->f_path.dentry; struct autofs_sb_info *sbi = autofs4_sbi(dentry->d_sb); struct dentry *cursor = file->private_data; int status = 0; @@ -204,7 +204,7 @@ out: static int autofs4_dir_readdir(struct file *file, void *dirent, filldir_t filldir) { - struct dentry *dentry = file->f_dentry; + struct dentry *dentry = file->f_path.dentry; struct autofs_sb_info *sbi = autofs4_sbi(dentry->d_sb); struct dentry *cursor = file->private_data; int status; @@ -858,14 +858,14 @@ static int autofs4_root_ioctl(struct ino return autofs4_ask_reghost(sbi, p); case AUTOFS_IOC_ASKUMOUNT: - return autofs4_ask_umount(filp->f_vfsmnt, p); + return autofs4_ask_umount(filp->f_path.mnt, p); /* return a single thing to expire */ case AUTOFS_IOC_EXPIRE: - return autofs4_expire_run(inode->i_sb,filp->f_vfsmnt,sbi, p); + return autofs4_expire_run(inode->i_sb,filp->f_path.mnt,sbi, p); /* same as above, but can send multiple expires through pipe */ case AUTOFS_IOC_EXPIRE_MULTI: - return autofs4_expire_multi(inode->i_sb,filp->f_vfsmnt,sbi, p); + return autofs4_expire_multi(inode->i_sb,filp->f_path.mnt,sbi, p); default: return -ENOSYS; _ Patches currently in -mm which might be from jsipek@xxxxxxxxxxxxx are fsstack-introduce-fsstack_copy_attrinode_.patch fsstack-introduce-fsstack_copy_attrinode_-tidy.patch ecryptfs-use-fsstacks-generic-copy-inode-attr.patch ecryptfs-use-fsstacks-generic-copy-inode-attr-tidy-fix.patch struct-path-rename-reiserfss-struct-path.patch struct-path-rename-dms-struct-path.patch struct-path-move-struct-path-from-fs-nameic-into.patch struct-path-make-ecryptfs-a-user-of-struct-path.patch vfs-change-struct-file-to-use-struct-path.patch sysfs-change-uses-of-f_dentry.patch proc-change-uses-of-f_dentry-vfsmnt-to-use-f_path.patch ext2-change-uses-of-f_dentry-vfsmnt-to-use-f_path.patch ext3-change-uses-of-f_dentry-vfsmnt-to-use-f_path.patch ext4-change-uses-of-f_dentry-vfsmnt-to-use-f_path.patch fat-change-uses-of-f_dentryvfsmnt-to-use-f_path.patch isofs-change-uses-of-f_dentry.patch nfs-change-uses-of-f_dentryvfsmnt-to-use-f_path.patch nfsd-change-uses-of-f_dentry-vfsmnt-to-use-f_path.patch ntfs-change-uses-of-f_dentry-vfsmnt-to-use-f_path.patch i386-change-uses-of-f_dentry-vfsmnt-to-use-f_path.patch x86_64-change-uses-of-f_dentry.patch kernel-change-uses-of-f_dentry.patch mm-change-uses-of-f_dentryvfsmnt-to-use-f_path.patch 9p-change-uses-of-f_dentryvfsmnt-to-use-f_path.patch affs-change-uses-of-f_dentry-vfsmnt-to-use-f_path.patch autofs-change-uses-of-f_dentry.patch autofs4-change-uses-of-f_dentry.patch configfs-change-uses-of-f_dentry.patch cifs-change-uses-of-f_dentry-vfsmnt-to-use-f_path.patch ecryptfs-change-uses-of-f_dentry.patch xfs-change-uses-of-f_dentryvfsmnt-to-use-f_path.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html