Re: [patch 2/2] fix file counting

From: Andrew Morton
Date: Sat Jan 28 2006 - 13:50:28 EST


Dipankar Sarma <dipankar@xxxxxxxxxx> wrote:
>
> > (And it forgot to initialise the atomic_t)
>
> I declared it static. Isn't that sufficient ?

ATOMIC_INIT(0);

> > (And has a couple of suspicious-looking module exports. We don't support
> > CONFIG_PROC_FS=m).
>
> Where ?

+EXPORT_SYMBOL(get_nr_files);
+EXPORT_SYMBOL(get_max_files);

Why are these needed?
-
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/