Ocfs2: Move ocfs2 ioctl definitions from ocfs2_fs.h to newly added ocfs2_ioctl.h
authorTristan Ye <tristan.ye@oracle.com>
Tue, 2 Mar 2010 05:59:42 +0000 (13:59 +0800)
committerJoel Becker <joel.becker@oracle.com>
Tue, 2 Mar 2010 22:10:20 +0000 (14:10 -0800)
commit9df5778ecee8b301b447fc05706792d5f447ace5
tree5547e6fd6c26274ce8ee7710f42201db392940bf
parent5051f76883897ea3d3d034c92e7b84236da2ec57
Ocfs2: Move ocfs2 ioctl definitions from ocfs2_fs.h to newly added ocfs2_ioctl.h

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>
fs/ocfs2/ioctl.h
fs/ocfs2/ocfs2.h
fs/ocfs2/ocfs2_fs.h
fs/ocfs2/ocfs2_ioctl.h [new file with mode: 0644]