Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756627AbYB1FS1 (ORCPT ); Thu, 28 Feb 2008 00:18:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751222AbYB1FSO (ORCPT ); Thu, 28 Feb 2008 00:18:14 -0500 Received: from smtp1.linux-foundation.org ([207.189.120.13]:47879 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755928AbYB1FSN (ORCPT ); Thu, 28 Feb 2008 00:18:13 -0500 Date: Wed, 27 Feb 2008 21:17:56 -0800 From: Andrew Morton To: Ian Kent Cc: Kernel Mailing List , autofs mailing list , linux-fsdevel Subject: Re: [PATCH 2/4] autofs4 - add mount option to display mount device Message-Id: <20080227211756.9e57e8a6.akpm@linux-foundation.org> In-Reply-To: References: X-Mailer: Sylpheed 2.4.1 (GTK+ 2.8.17; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 827 Lines: 16 On Tue, 26 Feb 2008 13:29:07 +0900 (WST) Ian Kent 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. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/