summaryrefslogtreecommitdiffstats
path: root/include/linux/ext4_fs.h
diff options
context:
space:
mode:
authorAndi Kleen2008-04-30 04:03:54 +0200
committerTheodore Ts'o2008-04-30 04:03:54 +0200
commit5cdd7b2d7716a7ed7d6dc7588e2d015f04d46640 (patch)
treec2146662517bbd22377a54d1487e202d86dde6db /include/linux/ext4_fs.h
parentext4: Cache the correct extent length for uninit extents (diff)
downloadkernel-qcow2-linux-5cdd7b2d7716a7ed7d6dc7588e2d015f04d46640.tar.gz
kernel-qcow2-linux-5cdd7b2d7716a7ed7d6dc7588e2d015f04d46640.tar.xz
kernel-qcow2-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 'include/linux/ext4_fs.h')
-rw-r--r--include/linux/ext4_fs.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/ext4_fs.h b/include/linux/ext4_fs.h
index 105337ca9ed0..33bc88568c54 100644
--- a/include/linux/ext4_fs.h
+++ b/include/linux/ext4_fs.h
@@ -1050,8 +1050,7 @@ extern int ext4_block_truncate_page(handle_t *handle, struct page *page,
struct address_space *mapping, loff_t from);
/* ioctl.c */
-extern int ext4_ioctl (struct inode *, struct file *, unsigned int,
- unsigned long);
+extern long ext4_ioctl(struct file *, unsigned int, unsigned long);
extern long ext4_compat_ioctl (struct file *, unsigned int, unsigned long);
/* migrate.c */