diff options
author | Andi Kleen <ak@suse.de> | 2008-01-27 17:58:51 -0500 |
---|---|---|
committer | Dave Kleikamp <shaggy@linux.vnet.ibm.com> | 2008-02-07 14:33:58 -0500 |
commit | baab81fa518ecfac597402b462631f5593926623 (patch) | |
tree | de6339ce964d91959a93401117992df409280812 /fs/jfs/jfs_inode.h | |
parent | 0afc2edfada50980bec999f94dcea26ebad3dda6 (diff) |
BKL-removal: Use unlocked_ioctl for jfs
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.
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
Diffstat (limited to 'fs/jfs/jfs_inode.h')
-rw-r--r-- | fs/jfs/jfs_inode.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/jfs/jfs_inode.h b/fs/jfs/jfs_inode.h index 95a6a11425e5..570fd5e3ef61 100644 --- a/fs/jfs/jfs_inode.h +++ b/fs/jfs/jfs_inode.h | |||
@@ -22,8 +22,7 @@ struct fid; | |||
22 | 22 | ||
23 | extern struct inode *ialloc(struct inode *, umode_t); | 23 | extern struct inode *ialloc(struct inode *, umode_t); |
24 | extern int jfs_fsync(struct file *, struct dentry *, int); | 24 | extern int jfs_fsync(struct file *, struct dentry *, int); |
25 | extern int jfs_ioctl(struct inode *, struct file *, | 25 | extern long jfs_ioctl(struct file *, unsigned int, unsigned long); |
26 | unsigned int, unsigned long); | ||
27 | extern struct inode *jfs_iget(struct super_block *, unsigned long); | 26 | extern struct inode *jfs_iget(struct super_block *, unsigned long); |
28 | extern int jfs_commit_inode(struct inode *, int); | 27 | extern int jfs_commit_inode(struct inode *, int); |
29 | extern int jfs_write_inode(struct inode*, int); | 28 | extern int jfs_write_inode(struct inode*, int); |