aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jfs/jfs_inode.h
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2008-01-27 17:58:51 -0500
committerDave Kleikamp <shaggy@linux.vnet.ibm.com>2008-02-07 14:33:58 -0500
commitbaab81fa518ecfac597402b462631f5593926623 (patch)
treede6339ce964d91959a93401117992df409280812 /fs/jfs/jfs_inode.h
parent0afc2edfada50980bec999f94dcea26ebad3dda6 (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.h3
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
23extern struct inode *ialloc(struct inode *, umode_t); 23extern struct inode *ialloc(struct inode *, umode_t);
24extern int jfs_fsync(struct file *, struct dentry *, int); 24extern int jfs_fsync(struct file *, struct dentry *, int);
25extern int jfs_ioctl(struct inode *, struct file *, 25extern long jfs_ioctl(struct file *, unsigned int, unsigned long);
26 unsigned int, unsigned long);
27extern struct inode *jfs_iget(struct super_block *, unsigned long); 26extern struct inode *jfs_iget(struct super_block *, unsigned long);
28extern int jfs_commit_inode(struct inode *, int); 27extern int jfs_commit_inode(struct inode *, int);
29extern int jfs_write_inode(struct inode*, int); 28extern int jfs_write_inode(struct inode*, int);