summaryrefslogtreecommitdiff
path: root/fs/ocfs2/ioctl.h
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2008-01-27 05:17:17 +0300
committerMark Fasheh <mfasheh@suse.com>2008-04-18 19:56:11 +0400
commitc9ec14884d69a303eef4faae42bd3c4e25b19941 (patch)
tree50ed19faff3fbaaab8dfa872b506501a24826df3 /fs/ocfs2/ioctl.h
parent5dabd69515765156605b09261abf969236a77803 (diff)
downloadlinux-c9ec14884d69a303eef4faae42bd3c4e25b19941.tar.xz
ocfs2: Convert ocfs2 over to unlocked_ioctl
As far as I can see there is nothing in ocfs2_ioctl that requires the BKL, so use unlocked_ioctl Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'fs/ocfs2/ioctl.h')
-rw-r--r--fs/ocfs2/ioctl.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ocfs2/ioctl.h b/fs/ocfs2/ioctl.h
index 4d6c4f430d0d..cf9a5ee30fef 100644
--- a/fs/ocfs2/ioctl.h
+++ b/fs/ocfs2/ioctl.h
@@ -10,8 +10,7 @@
#ifndef OCFS2_IOCTL_H
#define OCFS2_IOCTL_H
-int ocfs2_ioctl(struct inode * inode, struct file * filp,
- unsigned int cmd, unsigned long arg);
+long ocfs2_ioctl(struct file *filp, unsigned int cmd, unsigned long arg);
long ocfs2_compat_ioctl(struct file *file, unsigned cmd, unsigned long arg);
#endif /* OCFS2_IOCTL_H */