On Fri, Oct 31, 2008 at 07:23:04AM +0530, Manish Katiyar wrote: > On Fri, Oct 31, 2008 at 12:42 AM, Marcin Slusarz > <marcin.slusarz@xxxxxxxxx> wrote: > > Check the definition of functions which "use" these variables. > > I checked them and they are very much used. I can understand if they > would have been in some #ifdef but that doesn't seem to be the case > here. I think the functions end up being #defined away into nothing, in certain cases. In the first example you mentioned with fs/lockd/svclock.c the vfs_lock_file function gets #defined as "(-ENOLCK)" in include/linux/fs.h if CONFIG_FILE_LOCKING is not set, so I guess that's how you configured your kernel. Nick. -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ