[PATCH] shift BKL out of vfs_readdir
authorDave Hansen <haveblue@us.ibm.com>
Tue, 30 Apr 2002 07:00:53 +0000 (00:00 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Tue, 30 Apr 2002 07:00:53 +0000 (00:00 -0700)
commitec3630a19acc60a94286c8f1addabd392904cc39
treeff371c092e2637c7c2b944c1d04d8274b2acbd81
parent934ddeab4e11504ede9cbcd4104b01172167efa2
[PATCH] shift BKL out of vfs_readdir

This patch takes the BKL out of vfs_readdir() and moves it into the
individual filesystems, all 35 of them.  I have the feeling that this
wasn't done before because there are a lot of these to change and it was
a pain to find them all.  I definitely got all of those that were
defined in the in the structure declaration like this "readdir:
fs_readdir;" vxfs_readdir was assigned strangely, but I found it anyway.
I also left devfs out of this one.  Richard seems confident that devfs
has no need for the BKL.
43 files changed:
Documentation/filesystems/Locking
drivers/isdn/capi/capifs.c
fs/adfs/dir.c
fs/affs/dir.c
fs/autofs/root.c
fs/bad_inode.c
fs/bfs/dir.c
fs/cramfs/inode.c
fs/devpts/root.c
fs/efs/dir.c
fs/ext2/dir.c
fs/ext3/dir.c
fs/fat/dir.c
fs/freevxfs/vxfs_lookup.c
fs/hfs/dir_cap.c
fs/hfs/dir_dbl.c
fs/hfs/dir_nat.c
fs/hpfs/dir.c
fs/isofs/dir.c
fs/jffs/inode-v23.c
fs/jffs2/dir.c
fs/jfs/jfs_dtree.c
fs/libfs.c
fs/minix/dir.c
fs/ncpfs/dir.c
fs/nfs/dir.c
fs/nfs/nfs3proc.c
fs/nfs/proc.c
fs/openpromfs/inode.c
fs/proc/base.c
fs/proc/generic.c
fs/proc/root.c
fs/qnx4/dir.c
fs/readdir.c
fs/reiserfs/dir.c
fs/romfs/inode.c
fs/smbfs/dir.c
fs/smbfs/proc.c
fs/sysv/dir.c
fs/udf/dir.c
fs/ufs/dir.c
fs/umsdos/dir.c
fs/umsdos/rdir.c