summaryrefslogtreecommitdiffstats
path: root/include/linux/gfs2_ioctl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/gfs2_ioctl.h')
-rw-r--r--include/linux/gfs2_ioctl.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/linux/gfs2_ioctl.h b/include/linux/gfs2_ioctl.h
index ca96328..fb7c0cf 100644
--- a/include/linux/gfs2_ioctl.h
+++ b/include/linux/gfs2_ioctl.h
@@ -10,12 +10,8 @@
#ifndef __GFS2_IOCTL_DOT_H__
#define __GFS2_IOCTL_DOT_H__
-#define _GFS2C_(x) (('G' << 16) | ('2' << 8) | (x))
-
-/* Ioctls implemented */
-
-#define GFS2_IOCTL_SETFLAGS _GFS2C_(3)
-#define GFS2_IOCTL_GETFLAGS _GFS2C_(4)
+#define GFS2_IOCTL_SETFLAGS _IOW('g', 3, long)
+#define GFS2_IOCTL_GETFLAGS _IOR('g', 4, long)
#endif /* ___GFS2_IOCTL_DOT_H__ */
OpenPOWER on IntegriCloud