summaryrefslogtreecommitdiffstats
path: root/sys-utils/eject.c
diff options
context:
space:
mode:
authorSamuel Thibault2012-08-08 17:19:43 +0200
committerKarel Zak2012-08-13 15:14:13 +0200
commit4797b1e5928219864215c7b7cf9e6d023e345675 (patch)
tree3bc7d410acb2ccffac9335eae57a32f3bd7940fa /sys-utils/eject.c
parentfdisk: aix: fix warning (diff)
downloadkernel-qcow2-util-linux-4797b1e5928219864215c7b7cf9e6d023e345675.tar.gz
kernel-qcow2-util-linux-4797b1e5928219864215c7b7cf9e6d023e345675.tar.xz
kernel-qcow2-util-linux-4797b1e5928219864215c7b7cf9e6d023e345675.zip
Fix non-Linux build
loopdev.c, test_pager, and get_max_number_of_cpus() are linux-specific. get_linux_version will only work on Linux, let's introduce system_supports_ext4_ext2() which assumes that mounting ext2 with ext4 is not supported on non-Linux systems. [kzak@redhat.com: - use #ifdef SYS_sched_getaffinity rather than __linux__] Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/eject.c')
0 files changed, 0 insertions, 0 deletions