Re: [RFC Aufs2 #3 2/2] split 'xino' entry under sysfs

From: hooanon05
Date: Fri Mar 20 2009 - 01:16:19 EST



Greg KH:
> Looks like a good start, if you are _sure_ you need sysfs files :)

I believe those paths are important to users.
When CONFIG_SYSFS is disabled, they are printed in /proc/mounts (and has
severer limit).

Addition to set limit, there is one more reason to adopt seq_file.
Because the printed string is a path, it may contain unprintable
characters. seq_file has a good interface seq_path() which supports
escaping such characters.


J. R. Okajima
--
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/