vitriofsd/passthrough_ll: fix fallocate() ifdefs
commit9776457ca6f05d5900e27decb1dba2ffddf95a22
authorXiao Yang <yangx.jy@cn.fujitsu.com>
Mon, 13 Jan 2020 09:37:34 +0000 (13 17:37 +0800)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 23 Jan 2020 16:41:36 +0000 (23 16:41 +0000)
treeef0a69d8f345443bb2d069c05ecec323a52481e3
parent72c42e2d65510e073cf78fdc924d121c77fa0080
vitriofsd/passthrough_ll: fix fallocate() ifdefs

1) Use correct CONFIG_FALLOCATE macro to check if fallocate() is supported.(i.e configure
   script sets CONFIG_FALLOCATE intead of HAVE_FALLOCATE if fallocate() is supported)
2) Replace HAVE_POSIX_FALLOCATE with CONFIG_POSIX_FALLOCATE.

Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
  Merged from two of Xiao Yang's patches
tools/virtiofsd/passthrough_ll.c