mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* vxfs_readdir locking incorrect: add lock_kernel() or remove unlock_kernel()?
@ 2006-07-24 22:42 Josh Triplett
  2006-07-25  0:20 ` Andrew Morton
  0 siblings, 1 reply; 3+ messages in thread
From: Josh Triplett @ 2006-07-24 22:42 UTC (permalink / raw)
  To: linux-kernel; +Cc: Christoph Hellwig

Commit 7b2fd697427e73c81d5fa659efd91bd07d303b0e in the historical GIT
tree stopped calling the readdir member of a file_operations struct with
the big kernel lock held, and fixed up all the readdir functions to do
their own locking.  However, that change added calls to unlock_kernel()
in vxfs_readdir (fs/freevxfs/vxfs_lookup.c), but no call to
lock_kernel().  Should vxfs_readdir call lock_kernel(), or should the
calls to unlock_kernel() go away?

- Josh Triplett



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

end of thread, other threads:[~2006-07-25 22:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-24 22:42 vxfs_readdir locking incorrect: add lock_kernel() or remove unlock_kernel()? Josh Triplett
2006-07-25  0:20 ` Andrew Morton
2006-07-25 22:25   ` Valdis.Kletnieks

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®