The patch titled Subject: autofs: make autofs_expire_indirect() static has been added to the -mm tree. Its filename is autofs-make-autofs_expire_indirect-static.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/autofs-make-autofs_expire_indirect-static.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/autofs-make-autofs_expire_indirect-static.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Ian Kent <raven@xxxxxxxxxx> Subject: autofs: make autofs_expire_indirect() static autofs_expire_indirect() isn't used outside of fs/autofs/expire.c so make it static. Link: http://lkml.kernel.org/r/152937733512.21213.10509996499623738446.stgit@xxxxxxxxxxxxxxxx Signed-off-by: Ian Kent <raven@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/autofs/autofs_i.h | 3 --- fs/autofs/expire.c | 8 ++++---- 2 files changed, 4 insertions(+), 7 deletions(-) diff -puN fs/autofs/autofs_i.h~autofs-make-autofs_expire_indirect-static fs/autofs/autofs_i.h --- a/fs/autofs/autofs_i.h~autofs-make-autofs_expire_indirect-static +++ a/fs/autofs/autofs_i.h @@ -154,9 +154,6 @@ int autofs_do_expire_multi(struct super_ struct autofs_sb_info *sbi, int when); int autofs_expire_multi(struct super_block *, struct vfsmount *, struct autofs_sb_info *, int __user *); -struct dentry *autofs_expire_indirect(struct super_block *sb, - struct vfsmount *mnt, - struct autofs_sb_info *sbi, int how); /* Device node initialization */ diff -puN fs/autofs/expire.c~autofs-make-autofs_expire_indirect-static fs/autofs/expire.c --- a/fs/autofs/expire.c~autofs-make-autofs_expire_indirect-static +++ a/fs/autofs/expire.c @@ -424,10 +424,10 @@ static struct dentry *should_expire(stru * - it is unused by any user process * - it has been unused for exp_timeout time */ -struct dentry *autofs_expire_indirect(struct super_block *sb, - struct vfsmount *mnt, - struct autofs_sb_info *sbi, - int how) +static struct dentry *autofs_expire_indirect(struct super_block *sb, + struct vfsmount *mnt, + struct autofs_sb_info *sbi, + int how) { unsigned long timeout; struct dentry *root = sb->s_root; _ Patches currently in -mm which might be from raven@xxxxxxxxxx are autofs-fix-directory-and-symlink-access.patch autofs-fix-inconsistent-use-of-now-variable.patch autofs-fix-clearing-autofs_exp_leaves-in-autofs_expire_indirect.patch autofs-make-autofs_expire_direct-static.patch autofs-make-autofs_expire_indirect-static.patch autofs-make-expire-flags-usage-consistent-with-v5-params.patch autofs-add-autofs_exp_forced-flag.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