diff options
author | David Teigland <teigland@redhat.com> | 2006-01-24 05:03:04 -0500 |
---|---|---|
committer | Steven Whitehouse <steve@chygwyn.com> | 2006-01-24 05:03:04 -0500 |
commit | 8ca05c60de49c3bb523a435abc216b6b6eeb1067 (patch) | |
tree | 75fac74607dee53a7cc11fdfe1c73162eb526455 /include | |
parent | 044399b2cb6ad2d7f63cfca945268853d7443a4d (diff) |
[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: David Teigland <teigland@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/gfs2_ioctl.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/include/linux/gfs2_ioctl.h b/include/linux/gfs2_ioctl.h index ca9632862833..fb7c0cf72c56 100644 --- a/include/linux/gfs2_ioctl.h +++ b/include/linux/gfs2_ioctl.h | |||
@@ -10,12 +10,8 @@ | |||
10 | #ifndef __GFS2_IOCTL_DOT_H__ | 10 | #ifndef __GFS2_IOCTL_DOT_H__ |
11 | #define __GFS2_IOCTL_DOT_H__ | 11 | #define __GFS2_IOCTL_DOT_H__ |
12 | 12 | ||
13 | #define _GFS2C_(x) (('G' << 16) | ('2' << 8) | (x)) | 13 | #define GFS2_IOCTL_SETFLAGS _IOW('g', 3, long) |
14 | 14 | #define GFS2_IOCTL_GETFLAGS _IOR('g', 4, long) | |
15 | /* Ioctls implemented */ | ||
16 | |||
17 | #define GFS2_IOCTL_SETFLAGS _GFS2C_(3) | ||
18 | #define GFS2_IOCTL_GETFLAGS _GFS2C_(4) | ||
19 | 15 | ||
20 | #endif /* ___GFS2_IOCTL_DOT_H__ */ | 16 | #endif /* ___GFS2_IOCTL_DOT_H__ */ |
21 | 17 | ||