Subject: Re: VFS LKMs & pool_init() panic
To: Jaromir Dolecek <firstname.lastname@example.org>
From: Martin Husemann <email@example.com>
Date: 03/13/2000 07:29:28
> My point is - if you are going to add clean_xxx() functions, why
> not add generic VFS op routine, so that it can be handled by generic
> code in vfs_detach() and LKM-specific code would be kept minimal ?
In my view the question is: is there any chance, this VFS op routine is
going to be called outside the LKM unload context. If the answer is true,
then of course the right thing to do is create that VFS op routine.
If we can't come up with an example for this, then I would opt for the LKM
unload cleanup function - but thats just a matter of taste.