* for seq_file.c, EXPORT seq_path_root() and seq_dentry()?
@ 2009-08-10 14:24 Robert P. J. Day
0 siblings, 0 replies; only message in thread
From: Robert P. J. Day @ 2009-08-10 14:24 UTC (permalink / raw)
To: linux-fsdevel
in the process of writing a newbie article on how to use the
seq_file implementation of proc files, and i noticed that, in
fs/seq_file.c, mangle_path() is EXPORTed, as is seq_path(), but
neither of seq_path_root() or seq_dentry().
that just seems slightly inconsistent. is there any value (or
obvious drawback) to EXPORTing those other two?
rday
p.s. LDD3 writes of seq_path():
"It is unlikely to be used in device drivers: we have included it here
for completeness."
it is invoked exactly once in the source tree, in drivers/md/md.c.
just an observation.
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Annoying Kernel Pedantry.
Web page: http://crashcourse.ca
Twitter: http://twitter.com/rpjday
========================================================================
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-08-10 14:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-10 14:24 for seq_file.c, EXPORT seq_path_root() and seq_dentry()? Robert P. J. Day
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).