public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* holding a reference on an inode?
@ 2004-04-21  0:28 John McCutchan
  2004-04-23 12:48 ` Jan Kara
  0 siblings, 1 reply; 2+ messages in thread
From: John McCutchan @ 2004-04-21  0:28 UTC (permalink / raw)
  To: linux-kernel

Hello,

I am writing a kernel module, and I would like to allow user space to
hand me a FILE, and then for my kernel module to keep a reference on its
inode regardless what the user space program does with the FILE. 

1) Is this good practice?
2) How do I get notified when the filesystem the inode is on is being   
unmounted so I can release my reference? So that I don't block the
unmount.


I am not subscribed so please CC on my replies. 

Thank you.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-04-23 12:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-21  0:28 holding a reference on an inode? John McCutchan
2004-04-23 12:48 ` Jan Kara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox