Re: [PATCH] 2.5.5: compile error in fs/filesystems.c

From: Olaf Dietsche (olaf.dietsche--list.linux-kernel@exmail.de)
Date: Thu Feb 28 2002 - 19:58:03 EST


Hi Neil,

Neil Brown <neilb@cse.unsw.edu.au> writes:

> 2.5.6-pre2 already has a patch for this.

The compile error is gone, *but* ... :-)
With 2.5.6-pre2 you get nfsd support, wether you want it or
not. Consider this:

#undef CONFIG_NFSD
#undef CONFIG_NFSD_MODULE
#define CONFIG_MODULES

Now, this part is compiled into the kernel, although you haven't
requested it:

#if defined(CONFIG_MODULES)
        lock_kernel();

        if (nfsd_linkage ||
            (request_module ("nfsd") == 0 && nfsd_linkage)) {
                __MOD_INC_USE_COUNT(nfsd_linkage->owner);
                unlock_kernel();
                ret = nfsd_linkage->do_nfsservctl(cmd, argp, resp);
                __MOD_DEC_USE_COUNT(nfsd_linkage->owner);
        } else
                unlock_kernel();
#endif

Did I miss something?

Regards, Olaf.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Feb 28 2002 - 21:00:46 EST