diff options
author | Andi Kleen <ak@suse.de> | 2008-04-30 04:03:54 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-04-30 04:03:54 +0200 |
commit | 5cdd7b2d7716a7ed7d6dc7588e2d015f04d46640 (patch) | |
tree | c2146662517bbd22377a54d1487e202d86dde6db /fs/ext4/dir.c | |
parent | ext4: Cache the correct extent length for uninit extents (diff) | |
download | linux-5cdd7b2d7716a7ed7d6dc7588e2d015f04d46640.tar.xz linux-5cdd7b2d7716a7ed7d6dc7588e2d015f04d46640.zip |
Convert ext4 to use unlocked_ioctl
I checked ext4_ioctl and it looked largely safe to not be used
without BKL. So convert it over to unlocked_ioctl.
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/dir.c')
-rw-r--r-- | fs/ext4/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/dir.c b/fs/ext4/dir.c index 2c23bade9aa6..88c97f7312be 100644 --- a/fs/ext4/dir.c +++ b/fs/ext4/dir.c @@ -42,7 +42,7 @@ const struct file_operations ext4_dir_operations = { .llseek = generic_file_llseek, .read = generic_read_dir, .readdir = ext4_readdir, /* we take BKL. needed?*/ - .ioctl = ext4_ioctl, /* BKL held */ + .unlocked_ioctl = ext4_ioctl, #ifdef CONFIG_COMPAT .compat_ioctl = ext4_compat_ioctl, #endif |