[PATCH] freevxfs: Add missing lock_kernel() to vxfs_readdir
authorJosh Triplett <josht@us.ibm.com>
Sun, 30 Jul 2006 10:04:12 +0000 (03:04 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Jul 2006 20:28:44 +0000 (13:28 -0700)
commitbc65ac6a0ffc66c56d1e6893685d7fe87c63cc44
tree8c8bde036220b27361e864249c4961fdc2591eca
parent0a5eca6530eb4d0120981936058537c24a2f92ce
[PATCH] freevxfs: Add missing lock_kernel() to vxfs_readdir

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, but no call to lock_kernel().  Fix this by adding a call to
lock_kernel().

Signed-off-by: Josh Triplett <josh@freedesktop.org>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/freevxfs/vxfs_lookup.c