]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Detect broken system linux/fiemap.h
authorJim Schutt <jaschut@sandia.gov>
Wed, 17 Nov 2010 20:39:52 +0000 (13:39 -0700)
committerSage Weil <sage@newdream.net>
Wed, 17 Nov 2010 20:48:00 +0000 (12:48 -0800)
commitb54880e0f9325bc99264f2878ea4589e01375fbf
treebee40c343810fc99810fe57f245dac01de018fc3
parent29a9e668411fc647e874d3abc17ca44dcf9678cb
Detect broken system linux/fiemap.h

RedHat 5.5 has a /usr/include/linux/fiemap.h, but it is
broken because it does not itself include linux/types.h.
As a result, __u64 and friends are not defined.

We have a Ceph-local copy of fiemap.h, so use it
if the system version is broken.

While we're at it, fix up the configure message to
note we're using a local copy.

Signed-off-by: Jim Schutt <jaschut@sandia.gov>
Signed-off-by: Sage Weil <sage@newdream.net>
configure.ac