Re: 2.6: why no EXPORT_SYMBOL of get_sb_pseudo()?

From: viro
Date: Wed Oct 01 2003 - 06:04:12 EST


On Wed, Oct 01, 2003 at 11:04:30AM +0200, Mikael Pettersson wrote:
> fs/libfs.c:get_sb_pseudo() isn't exported to modules,
> but a lot of the other stuff in fs/libfs.c is.
>
> Is there a particular reason for this or just an oversight?
>
> Making a private copy of get_sb_pseudo()'s definition works
> in a module, but that's not exactly productive use of
> programmer time or source and object code space.

Are you really sure that get_sb_pseudo() is what you need? It might be
possible, but I suspect that simple_fill_super() would be the right thing
to use. Care to give details?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/