From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcus Furlong Subject: Re: 2.6.16 patch Date: Mon, 27 Mar 2006 22:32:24 +0100 Message-ID: References: <4417D43A.2070603@namesys.com> <3aa654a40603150459q25507248v54f4ffef5e41042d@mail.gmail.com> <44185E04.5030307@namesys.com> <44267AAE.60201@free.fr> <871wwnr7tr.fsf@baldur.nicundtas.de> Reply-To: furlongm@hotmail.com Mime-Version: 1.0 Content-Transfer-Encoding: 7Bit Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com Sender: news List-Id: Content-Type: text/plain; charset="us-ascii" To: reiserfs-list@namesys.com Tassilo Horn wrote: > I tried these two patches which applied fine, but when compiling the > kernel I get: > > # LC_ALL=C make > CHK include/linux/version.h > CHK include/linux/compile.h > CHK usr/initramfs_list > GEN .version > CHK include/linux/compile.h > UPD include/linux/compile.h > CC init/version.o > LD init/built-in.o > LD .tmp_vmlinux1 > fs/built-in.o: In function `items_stop': > pseudo.c:(.text+0x8b848): undefined reference to `unlock' > make: *** [.tmp_vmlinux1] Error 1 > > The mentioned function is: > > ,----[ fs/reiser4/plugin/pseudo/pseudo.c ] > | /* > | * stop iteration over a sequence of items for the host file > | */ > | static void items_stop(struct seq_file *m, void *v) > | { > | unlock(&get_seq_pseudo_host(m)->i_mutex); > | finish(v); > | } > `---- > > Any pointer to what could be wrong would be appreciated. Sorry about that, must have put the wrong patch up. Change unlock to mutex_unlock and it should be fine. Marcus.