Skip to contentSkip to conversation

unionfs: sioq not __exit

PATCH Applied Randy Dunlap 2 participants 2 messages Mar 19, 2007 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 unionfs: sioq not __exit

From: Randy Dunlap <[email protected]>

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.

---
 fs/unionfs/sioq.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/unionfs/sioq.c +1 -1
@@ -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);
Applied
#1 lore raw
Quoted 8 lines · Randy Dunlap

From: Randy Dunlap <[email protected]>

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.

Applied.

Thanks.

Josef "Jeff" Sipek.

Signature · 4 lines
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by
definition, not smart enough to debug it.
		- Brian W. Kernighan