mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-25 05:34:00 +08:00
9df5778ece
Currently we were adding ioctl cmds/structures for ocfs2 into ocfs2_fs.h which was used for define ocfs2 on-disk layout. That sounds a little bit confusing, and it may be quickly polluted espcially when growing the ocfs2_info_request ioctls afterwards(it will grow i bet). As a result, such OCFS2 IOCs do need to be placed somewhere other than ocfs2_fs.h, a separated ocfs2_ioctl.h will be added to store such ioctl structures and definitions which could also be used from userspace to invoke ioctls call. Signed-off-by: Tristan Ye <tristan.ye@oracle.com> Signed-off-by: Joel Becker <joel.becker@oracle.com>
17 lines
330 B
C
17 lines
330 B
C
/*
|
|
* ioctl.h
|
|
*
|
|
* Function prototypes
|
|
*
|
|
* Copyright (C) 2006 Herbert Poetzl
|
|
*
|
|
*/
|
|
|
|
#ifndef OCFS2_IOCTL_PROTO_H
|
|
#define OCFS2_IOCTL_PROTO_H
|
|
|
|
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_PROTO_H */
|