[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>
This commit is contained in:
David Teigland 2006-01-24 10:03:04 +00:00 committed by Steven Whitehouse
commit 8ca05c60de
2 changed files with 3 additions and 6 deletions

View file

@ -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__ */