lkml.org 
[lkml]   [2000]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.029 / U:0.768 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site