]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: guard fallocate with #ifdefs
authorSage Weil <sage@inktank.com>
Fri, 16 Aug 2013 06:01:59 +0000 (23:01 -0700)
committerSage Weil <sage@inktank.com>
Tue, 20 Aug 2013 05:49:48 +0000 (22:49 -0700)
commitc339456514d12b1421b4ecb580ef2b35f6fd70bd
tree49845c2659c6c750f3d288bcac5af1670a7662cb
parent35b00c8b2c0688cb130b6af02e19cd6b69550f15
client: guard fallocate with #ifdefs

Only include linux header if it's linux.  Only implement the fallocate
method if FALLOC_FL_PUNCH_HOLE is defined.

Signed-off-by: Sage Weil <sage@inktank.com>
src/client/Client.cc