diff options
author | 2018-08-21 21:58:51 -0700 | |
---|---|---|
committer | 2018-08-22 10:52:49 -0700 | |
commit | 5d30517d67e349164838ad039f0f2d09dde15f59 (patch) | |
tree | f4d96d6649a4de25efc3ba56978a7447668ede45 /fs/autofs/expire.c | |
parent | autofs: fix clearing AUTOFS_EXP_LEAVES in autofs_expire_indirect() (diff) | |
download | linux-5d30517d67e349164838ad039f0f2d09dde15f59.tar.gz linux-5d30517d67e349164838ad039f0f2d09dde15f59.tar.bz2 linux-5d30517d67e349164838ad039f0f2d09dde15f59.zip |
autofs: make autofs_expire_direct() static
autofs_expire_direct() isn't used outside of fs/autofs/expire.c so make it
static.
Link: http://lkml.kernel.org/r/152937732944.21213.11821977712410930973.stgit@pluto.themaw.net
Signed-off-by: Ian Kent <raven@themaw.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/autofs/expire.c')
-rw-r--r-- | fs/autofs/expire.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/autofs/expire.c b/fs/autofs/expire.c index 41855cdc5630..64e6eba2c628 100644 --- a/fs/autofs/expire.c +++ b/fs/autofs/expire.c @@ -292,10 +292,10 @@ static struct dentry *autofs_check_leaves(struct vfsmount *mnt, } /* Check if we can expire a direct mount (possibly a tree) */ -struct dentry *autofs_expire_direct(struct super_block *sb, - struct vfsmount *mnt, - struct autofs_sb_info *sbi, - int how) +static struct dentry *autofs_expire_direct(struct super_block *sb, + struct vfsmount *mnt, + struct autofs_sb_info *sbi, + int how) { unsigned long timeout; struct dentry *root = dget(sb->s_root); |