diff options
author | Andi Kleen <ak@suse.de> | 2008-02-06 04:40:10 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-06 13:41:20 -0500 |
commit | 14f9f7b28e9f4c2102337d45f8d324c004a57481 (patch) | |
tree | e2b2099e485a6a498bfe609cfb5ac57edc22ba28 /fs/ext2/ext2.h | |
parent | f762e9054ff84aa90f037a49747ac61b36609d81 (diff) |
BKL-removal: convert ext2 over to use unlocked_ioctl
I checked ext2_ioctl and could not find anything in there that would need the
BKL. So convert it over to use unlocked_ioctl
Signed-off-by: Andi Kleen <ak@suse.de>
Cc: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ext2/ext2.h')
-rw-r--r-- | fs/ext2/ext2.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ext2/ext2.h b/fs/ext2/ext2.h index c87ae29c19cb..bb9948cdd50f 100644 --- a/fs/ext2/ext2.h +++ b/fs/ext2/ext2.h | |||
@@ -139,8 +139,7 @@ int __ext2_write_begin(struct file *file, struct address_space *mapping, | |||
139 | struct page **pagep, void **fsdata); | 139 | struct page **pagep, void **fsdata); |
140 | 140 | ||
141 | /* ioctl.c */ | 141 | /* ioctl.c */ |
142 | extern int ext2_ioctl (struct inode *, struct file *, unsigned int, | 142 | extern long ext2_ioctl(struct file *, unsigned int, unsigned long); |
143 | unsigned long); | ||
144 | extern long ext2_compat_ioctl(struct file *, unsigned int, unsigned long); | 143 | extern long ext2_compat_ioctl(struct file *, unsigned int, unsigned long); |
145 | 144 | ||
146 | /* namei.c */ | 145 | /* namei.c */ |