Jeff Mahoney: > Later patches replace open-coded refcounting and attributes with > kobjects, which form the producer for sysfs. If CONFIG_SYSFS is > disabled, all the functionality of kobjects still exist but the > sysfs operations become no-ops. > > This patch removes the CONFIG_AUFS_SYSAUFS option and builds sysaufs.c > unconditionally.
In CONFIG_AUFS_SYSAUFS, there are some functions or code lines which are unrelated to kobjects or sysfs directly. It means that compiling sysaufs.c unconditionally produces unnecessary/unused code. You can think CONFIG_AUFS_SYSAUFS has two purposes. One is only informational and debugging. The other is more essential and necessary for some users who would meet the limitation of mtab or mount(8). So aufs has two level customization for it, CONFIG_AUFS_SYSAUFS and a module parameter 'brs'. Finally, setting 0 to 'sysaufs_brs' is wrong. Junjiro Okajima ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
