summaryrefslogtreecommitdiffstats
path: root/fs/autofs/autofs_i.h
diff options
context:
space:
mode:
authorIan Kent <raven@themaw.net>2018-08-21 21:58:58 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2018-08-22 10:52:49 -0700
commite5c85e1fe19c03777cbacf4b5a5167b2f5ff90fb (patch)
treedf4fd0924bf2244353ce950495d0e6ec72373c46 /fs/autofs/autofs_i.h
parent571bc35c42f3455bc55393f22cb97f7407a5a6d1 (diff)
downloadlinux-e5c85e1fe19c03777cbacf4b5a5167b2f5ff90fb.tar.gz
linux-e5c85e1fe19c03777cbacf4b5a5167b2f5ff90fb.tar.bz2
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 *);