Re: [PATCH] [9/18] BKL-removal: Use unlocked_ioctl for jfs

2008-01-27 Thread Dave Kleikamp
On Sun, 2008-01-27 at 03:17 +0100, Andi Kleen wrote: > 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. > > Cc: [EMAIL PROTECTED] > > Signed-off-by

[PATCH] [9/18] BKL-removal: Use unlocked_ioctl for jfs

2008-01-26 Thread Andi Kleen
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. Cc: [EMAIL PROTECTED] Signed-off-by: Andi Kleen <[EMAIL PROTECTED]> --- fs/jfs/file.c |2 +