[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100525155535.GA811@infradead.org>
Date: Tue, 25 May 2010 11:55:35 -0400
From: Christoph Hellwig <hch@...radead.org>
To: Will Drewry <wad@...omium.org>
Cc: linux-kernel@...r.kernel.org, Al Viro <viro@...iv.linux.org.uk>,
Nick Piggin <npiggin@...e.de>, Tejun Heo <tj@...nel.org>,
Scott James Remnant <scott@...ntu.com>,
Vegard Nossum <vegard.nossum@...il.com>,
Harald Hoyer <harald@...hat.com>,
Christoph Lameter <cl@...ux-foundation.org>, agk@...hat.com,
snitzer@...hat.com
Subject: Re: [PATCH 2/2] init, mount: export the name_to_dev_t symbol
On Tue, May 25, 2010 at 10:46:51AM -0500, Will Drewry wrote:
> This change only adds EXPORT_SYMBOL() for name_to_dev_t.
>
> name_to_dev_t is in use outside of init/ but is not 'officially'
> exported. It provides behavior that is useful for any code that may be
> need to lookup a block device by major:minor or registered kernel name,
> especially before there is a root filesystem.
>
> Hopefully, this is the appropriate use of EXPORT_SYMBOL(). This
> specific function seems to be a stable interface and is available
> in include/linux/mount.h.
NACK. It's really a hack for the boot code, there's no offical name to
dev_t mapping.
What are you trying to use it for?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists