summaryrefslogtreecommitdiffstats
path: root/fs/fat/fat.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2010-05-17 08:13:47 +0900
committerOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>2010-05-17 08:16:12 +0900
commit7845bc3e132605e3e8a1f37748e29281164b65f5 (patch)
treea6437b673ed42e498fd89917ac3e0aa9a5fb678e /fs/fat/fat.h
parent1bdb6f9199def1c3538c18089e499f5df5ff1747 (diff)
downloadlinux-7845bc3e132605e3e8a1f37748e29281164b65f5.tar.gz
linux-7845bc3e132605e3e8a1f37748e29281164b65f5.tar.bz2
linux-7845bc3e132605e3e8a1f37748e29281164b65f5.zip
fat: convert to unlocked_ioctl
FAT does not require the BKL in its ioctl function, which is already serialized through a mutex. Since we're already touching the ioctl code, also fix the missing handling of FAT_IOCTL_GET_ATTRIBUTES in the compat code. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Diffstat (limited to 'fs/fat/fat.h')
-rw-r--r--fs/fat/fat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/fat/fat.h b/fs/fat/fat.h
index e6efdfa0f6db..eb821ee1a333 100644
--- a/fs/fat/fat.h
+++ b/fs/fat/fat.h
@@ -298,8 +298,8 @@ extern int fat_free_clusters(struct inode *inode, int cluster);
extern int fat_count_free_clusters(struct super_block *sb);
/* fat/file.c */
-extern int fat_generic_ioctl(struct inode *inode, struct file *filp,
- unsigned int cmd, unsigned long arg);
+extern long fat_generic_ioctl(struct file *filp, unsigned int cmd,
+ unsigned long arg);
extern const struct file_operations fat_file_operations;
extern const struct inode_operations fat_file_inode_operations;
extern int fat_setattr(struct dentry * dentry, struct iattr * attr);