> +/* > + * Handle nr_dentry sysctl > + */ > +int proc_nr_inodes(ctl_table *table, int write, > + void __user *buffer, size_t *lenp, loff_t *ppos) > +{ > +#if defined(CONFIG_SYSCTL) && defined(CONFIG_PROC_FS) > + inodes_stat.nr_inodes = get_nr_inodes(); > + return proc_dointvec(table, write, buffer, lenp, ppos); > +#else > + return -ENOSYS; > +#endif > +} Why would we even bother to define the handler if we don't have /proc/sys/ support? -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html