libinstaller: Avoid using <linux/ext2_fs.h>
authorH. Peter Anvin <hpa@zytor.com>
Tue, 27 Mar 2012 05:51:09 +0000 (22:51 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 4 Apr 2012 03:13:51 +0000 (20:13 -0700)
commit230799d53175d810dbbe47d209688a53a3ae02f1
treec6bcdb3a16b839837dcc5fe513820dc94fd4ff4b
parent66955aa0dcc3c6c28788a49764342580870009b8
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...

[ Doing this as a cherry-pick to unblock this branch ]

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Resolved Conflicts:

libinstaller/linuxioctl.h
libinstaller/ext2fs/ext2_fs.h [new file with mode: 0644]
libinstaller/linuxioctl.h
libinstaller/syslxcom.c