From: Randy Dunlap Subject: [PATCH] unionfs: sioq not __exit Date: Mon, 19 Mar 2007 15:22:26 -0700 Message-ID: <20070319152226.075c83e1.randy.dunlap@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: jsipek@cs.sunysb.edu, akpm To: unionfs@filesystems.org, linux-fsdevel@vger.kernel.org Return-path: Received: from agminet01.oracle.com ([141.146.126.228]:39765 "EHLO agminet01.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964944AbXCSW1u (ORCPT ); Mon, 19 Mar 2007 18:27:50 -0400 Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org From: Randy Dunlap stop_sioq() is called from both __init and __exit functions, so it shouldn't be marked __exit. Reported on the kernelnewbies mailing list, but no patch offered there. Signed-off-by: Randy Dunlap --- fs/unionfs/sioq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-2.6.21-rc3-mm2.orig/fs/unionfs/sioq.c +++ linux-2.6.21-rc3-mm2/fs/unionfs/sioq.c @@ -40,7 +40,7 @@ int __init init_sioq(void) return err; } -void __exit stop_sioq(void) +void stop_sioq(void) { if (superio_workqueue) destroy_workqueue(superio_workqueue);