Re: [RFC:PATCH 2/4] autofs4 - add v5 follow_link mount trigger method

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
>This patch adds a follow_link inode method for the root of
>an autofs direct mount trigger. It also adds the corresponding
>mount options and updates the show_mount method.
>
>+	if (sbi->type & AUTOFS_TYP_OFFSET)
>+		seq_printf(m, ",offset");
>+	else if (sbi->type & AUTOFS_TYP_DIRECT)
>+		seq_printf(m, ",direct");
>+	else
>+		seq_printf(m, ",indirect");
>+

Just a little nitpick: in English, it's usually "type" not "typ".

>+#define AUTOFS_TYP_INDIRECT     0x0001
>+#define AUTOFS_TYP_DIRECT       0x0002
>+#define AUTOFS_TYP_OFFSET       0x0004

>+	unsigned int type;


Jan Engelhardt
-- 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux