[patch-2.4.0-test5-pre4] fs/nfsd/nfsctl.c cleanup (module related)

From: Tigran Aivazian (tigran@veritas.com)
Date: Mon Jul 24 2000 - 07:34:52 EDT

  • Next message: Mike A. Harris: "Re: Why do processes go Zombie?"

    Hi Keith,

    I have a question to you (as to a module stuff guru) - can a module's
    cleanup routine be invoked while the module is in use? I thought the
    answer is no, therefore the patch below is to be applied but please
    correct me if I am wrong.

    Regards,
    Tigran

    --- linux/fs/nfsd/nfsctl.c Tue Jul 11 19:26:50 2000
    +++ work/fs/nfsd/nfsctl.c Mon Jul 24 12:31:36 2000
    @@ -331,10 +331,6 @@
     void
     cleanup_module(void)
     {
    - if (MOD_IN_USE) {
    - printk("nfsd: nfsd busy, remove delayed\n");
    - return;
    - }
             do_nfsservctl = NULL;
             nfsd_export_shutdown();
             nfsd_cache_shutdown();

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



    This archive was generated by hypermail 2b29 : Mon Jul 24 2000 - 07:34:23 EDT