summaryrefslogtreecommitdiffstats
path: root/fs/autofs/autofs_i.h
diff options
context:
space:
mode:
authorIan Kent <raven@themaw.net>2018-08-22 06:58:58 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2018-08-22 19:52:49 +0200
commite5c85e1fe19c03777cbacf4b5a5167b2f5ff90fb (patch)
treedf4fd0924bf2244353ce950495d0e6ec72373c46 /fs/autofs/autofs_i.h
parentautofs: make autofs_expire_indirect() static (diff)
downloadlinux-e5c85e1fe19c03777cbacf4b5a5167b2f5ff90fb.tar.xz
linux-e5c85e1fe19c03777cbacf4b5a5167b2f5ff90fb.zip
autofs: make expire flags usage consistent with v5 params
Make the usage of the expire flags consistent by naming the expire flags the same as it is named in the version 5 miscelaneous ioctl parameters and only check the bit flags when needed. Link: http://lkml.kernel.org/r/152937734046.21213.9454131988766280028.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/autofs_i.h')
-rw-r--r--fs/autofs/autofs_i.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/autofs/autofs_i.h b/fs/autofs/autofs_i.h
index f53ca4bd5365..633986a6a93a 100644
--- a/fs/autofs/autofs_i.h
+++ b/fs/autofs/autofs_i.h
@@ -153,7 +153,7 @@ int autofs_expire_run(struct super_block *, struct vfsmount *,
struct autofs_sb_info *,
struct autofs_packet_expire __user *);
int autofs_do_expire_multi(struct super_block *sb, struct vfsmount *mnt,
- struct autofs_sb_info *sbi, int when);
+ struct autofs_sb_info *sbi, unsigned int how);
int autofs_expire_multi(struct super_block *, struct vfsmount *,
struct autofs_sb_info *, int __user *);