Messages in this thread | | | Date | Wed, 27 Feb 2008 21:17:56 -0800 | From | Andrew Morton <> | Subject | Re: [PATCH 2/4] autofs4 - add mount option to display mount device |
| |
On Tue, 26 Feb 2008 13:29:07 +0900 (WST) Ian Kent <raven@themaw.net> wrote:
> --- linux-2.6.25-rc2-mm1/fs/autofs4/inode.c.add-mount-device-display-option 2008-02-20 13:01:06.000000000 +0900 > +++ linux-2.6.25-rc2-mm1/fs/autofs4/inode.c 2008-02-20 13:03:45.000000000 +0900 > @@ -190,6 +190,7 @@ static int autofs4_show_options(struct s > 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); > + seq_printf(m, ",dev=%d", autofs4_get_dev(sbi));
%u would be more appropriate here.
| |