]> err.no Git - linux-2.6/commit
BKL-removal: Use unlocked_ioctl for jfs
authorAndi Kleen <ak@suse.de>
Sun, 27 Jan 2008 22:58:51 +0000 (16:58 -0600)
committerDave Kleikamp <shaggy@linux.vnet.ibm.com>
Thu, 7 Feb 2008 19:33:58 +0000 (13:33 -0600)
commitbaab81fa518ecfac597402b462631f5593926623
treede6339ce964d91959a93401117992df409280812
parent0afc2edfada50980bec999f94dcea26ebad3dda6
BKL-removal: Use unlocked_ioctl for jfs

Convert jfs_ioctl over to not use the BKL. The only potential race
I could see was with two ioctls in parallel changing the flags
and losing the updates. Use the i_mutex to protect against this.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
fs/jfs/file.c
fs/jfs/ioctl.c
fs/jfs/jfs_inode.h
fs/jfs/namei.c