]> git.hungrycats.org Git - linux/commit
[PATCH] HPFS: missing lock_kernel() in hpfs_readdir()
authorRené Scharfe <l.s.r@web.de>
Sat, 13 Dec 2003 03:45:10 +0000 (19:45 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Sat, 13 Dec 2003 03:45:10 +0000 (19:45 -0800)
commit14c5d2d2e97f75e744fd7b62c8e5bd826c1402c7
treed527b0c3943b189569e84eb2ec8a1ec8b83eaea7
parent5965168e8e5392eded4c40eaf0c7e96be2346529
[PATCH] HPFS: missing lock_kernel() in hpfs_readdir()

In 2.5.x, the BKL was pushed from vfs_readdir() into the filesystem
specific functions.  But only the unlock_kernel() made it into the HPFS
code, lock_kernel() got lost on the way.  This rendered the filesystem
unusable.

This adds the missing lock_kernel().  It's been tested by Timo Maier who
also reported the problem earlier today.
fs/hpfs/dir.c