提交 8ca05c60 编写于 作者: D David Teigland 提交者: Steven Whitehouse

[GFS2] Update ioctl() numbering to use official numbers.

This patch adds us into the official ioctl-number.txt registry
and updates GFS2 accordingly.
Signed-off-by: NDavid Teigland <teigland@redhat.com>
Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
上级 044399b2
...@@ -126,6 +126,7 @@ Code Seq# Include File Comments ...@@ -126,6 +126,7 @@ Code Seq# Include File Comments
'e' 00-1F linux/video_encoder.h conflict! 'e' 00-1F linux/video_encoder.h conflict!
'e' 00-1F net/irda/irtty.h conflict! 'e' 00-1F net/irda/irtty.h conflict!
'f' 00-1F linux/ext2_fs.h 'f' 00-1F linux/ext2_fs.h
'g' 00-1F linux/gfs2_ioctl.h
'h' 00-7F Charon filesystem 'h' 00-7F Charon filesystem
<mailto:zapman@interlan.net> <mailto:zapman@interlan.net>
'i' 00-3F linux/i2o.h 'i' 00-3F linux/i2o.h
......
...@@ -10,12 +10,8 @@ ...@@ -10,12 +10,8 @@
#ifndef __GFS2_IOCTL_DOT_H__ #ifndef __GFS2_IOCTL_DOT_H__
#define __GFS2_IOCTL_DOT_H__ #define __GFS2_IOCTL_DOT_H__
#define _GFS2C_(x) (('G' << 16) | ('2' << 8) | (x)) #define GFS2_IOCTL_SETFLAGS _IOW('g', 3, long)
#define GFS2_IOCTL_GETFLAGS _IOR('g', 4, long)
/* Ioctls implemented */
#define GFS2_IOCTL_SETFLAGS _GFS2C_(3)
#define GFS2_IOCTL_GETFLAGS _GFS2C_(4)
#endif /* ___GFS2_IOCTL_DOT_H__ */ #endif /* ___GFS2_IOCTL_DOT_H__ */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册