libinstaller: Avoid using <linux/ext2_fs.h> syslinux-4.06-pre3
authorH. Peter Anvin <hpa@zytor.com>
Tue, 27 Mar 2012 05:51:09 +0000 (22:51 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 27 Mar 2012 05:51:09 +0000 (22:51 -0700)
commita1006762fa6f98750bb77d76dd992cb8ea9f9c99
tree5ddca741098ad3dd1e6b083becf1f5a9890641f0
parentc709a3982b1e6fa09537dd606b0557572e7bec8f
libinstaller: Avoid using <linux/ext2_fs.h>

Don't use <linux/ext2_fs.h> if we can avoid it.

The ioctl constants have been globalized and moved to <linux/fs.h>.
Use a private copy of ext2_fs.h from e2fsprogs with the ioctl
constants removed for the data structures.

Do at least attempt backward compatibility for old kernel headers, but
no real hope of proper operation there...

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
libinstaller/ext2fs/ext2_fs.h [new file with mode: 0644]
libinstaller/linuxioctl.h
libinstaller/syslxcom.c