freevxfs: Add missing lock_kernel() to vxfs_readdir
commit8e0a9377e5f04b0f2982b8f6afc38c80d828c250
authorJosh Triplett <josh@freedesktop.org>
Wed, 29 Nov 2006 13:26:18 +0000 (29 14:26 +0100)
committerAdrian Bunk <bunk@stusta.de>
Wed, 29 Nov 2006 13:26:18 +0000 (29 14:26 +0100)
tree5cca96911a9e7589ba50a4b2d202fdd771c7b5f3
parente2d1cbdc705c8b9d66831c1b81cea8c2cfabca10
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>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
fs/freevxfs/vxfs_lookup.c