mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Filesystem & mutex
@ 2006-04-24  4:54 Joshua Hudson
  2006-04-24 11:19 ` Pekka Enberg
  0 siblings, 1 reply; 3+ messages in thread
From: Joshua Hudson @ 2006-04-24  4:54 UTC (permalink / raw)
  To: linux-kernel

My filesystem has need of an extra mutex in the extended inode data area.
>From what I understand, the mutex can be initalized in inode_init_once, but
I cannot determine how to free it.

It looks wrong to destroy the mutex by just destroying the slab.
It is wrong to destroy the inode in destroy_inode. Badness when
an inode is reused.

I really don't want to go back to semaphores. The mutex code just *looks* so
much cleaner.

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

end of thread, other threads:[~2006-04-24 21:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-24  4:54 Filesystem & mutex Joshua Hudson
2006-04-24 11:19 ` Pekka Enberg
2006-04-24 21:24   ` Joshua Hudson

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

all inboxes | Powered by JetHome®