On Fri, 2008-02-08 at 08:39 -0800, Mingming Cao wrote: > On Fri, 2008-02-08 at 09:45 -0600, Dave Kleikamp wrote: > > On Thu, 2008-02-07 at 20:35 -0600, Eric Sandeen wrote: > > > it'll build: > > > > > > static inline struct proc_dir_entry *proc_mkdir(const char *name, > > > struct proc_dir_entry *parent) {return NULL;} > > > > > > yes, it'll issue a printk though. *shrug* > > > > printk could be removed...so as long as it builds fine. I had looked at > the history yesterday and find this fix > http://lists.openwall.net/linux-ext4/2007/10/10/2 > so I was under impression that the ifdefs was added to fix compile > issue. I did not look more closely. Maybe that's not a issue any more. It looks like the problem is that proc_root_fs is not defined when CONFIG_PROC_FS is undefined. Even though proc_mkdir() is defined as an inline function, the compile still fails. proc_root_ext4 = proc_mkdir(EXT4_ROOT, proc_root_fs); Maybe the best thing would be to put some dummy define in proc_fs.h like: #define proc_root_fs NULL > > > I like fewer #ifdefs better than more, but doesn't matter much to me. > > > > Oh, I prefer fewer #ifdefs too.:-) -- David Kleikamp IBM Linux Technology Center - To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html