lkml.org 
[lkml]   [2012]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v3 13/17] lockd: use new hashtable implementation
    On Wed, Aug 22, 2012 at 04:27:08AM +0200, Sasha Levin wrote:
    > +static int __init nlm_init(void)
    > +{
    > + hash_init(nlm_files);
    > + return 0;
    > +}
    > +
    > +module_init(nlm_init);

    That's giving me:

    fs/lockd/svcsubs.o: In function `nlm_init':
    /home/bfields/linux-2.6/fs/lockd/svcsubs.c:454: multiple definition of `init_module'
    fs/lockd/svc.o:/home/bfields/linux-2.6/fs/lockd/svc.c:606: first defined here
    make[2]: *** [fs/lockd/lockd.o] Error 1
    make[1]: *** [fs/lockd] Error 2
    make[1]: *** Waiting for unfinished jobs....

    --b.


    \
     
     \ /
      Last update: 2012-08-22 14:21    [W:2.499 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site