-static int autofs4_show_options(struct seq_file *m, struct vfsmount *mnt)
-{
- struct autofs_sb_info *sbi = autofs4_sbi(mnt->mnt_sb);
-
- if (!sbi)
- return 0;
-
- seq_printf(m, ",fd=%d", sbi->pipefd);
- seq_printf(m, ",pgrp=%d", sbi->oz_pgrp);
- seq_printf(m, ",timeout=%lu", sbi->exp_timeout/HZ);
- seq_printf(m, ",minproto=%d", sbi->min_proto);
- seq_printf(m, ",maxproto=%d", sbi->max_proto);
-
- if (sbi->type & AUTOFS_TYPE_OFFSET)
- seq_printf(m, ",offset");
- else if (sbi->type & AUTOFS_TYPE_DIRECT)
- seq_printf(m, ",direct");
- else
- seq_printf(m, ",indirect");
-
- return 0;
-}
-