unionfs: sioq not __exit
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.
Signed-off-by Randy Dunlap <[email protected]>
--- 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);
Josef Sipek
AppliedQuoted 8 lines · Randy Dunlap
From: Randy Dunlap <[email protected]>
stop_sioq()is called from both__initand__exitfunctions, so it shouldn't be marked__exit.Reported on the kernelnewbies mailing list, but no patch offered there.
Signed-off-by Randy Dunlap <[email protected]>
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