Messages in this thread | | | Date | Sat, 1 Jul 2000 14:22:44 -0400 (EDT) | From | Alexander Viro <> | Subject | Re: [question] file_operations->owner |
| |
On Fri, 30 Jun 2000, Tigran Aivazian wrote:
> Hi guys, > > this question is short and simple - is it true that only the drivers need > to set fop->owner to THIS_MODULE and *not* the modular filesystems also? > > Because I see, for example, microcode.c has been updated to have it but > filesystems weren't..
For filesystems it's done on file_system_type level. If you have it mounted you should not allow rmmod and once you've got that protection you don't have to care about opened files - kinda hard to umount while something is opened.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |