]> git.baikalelectronics.ru Git - kernel.git/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)
commit7297b4460698abb3bb0cb174ed179b2eaf619b8e
treede6339ce964d91959a93401117992df409280812
parent94b342b9701ca2624cd080acdb0bbf3479d04fc4
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