RE: [Patch] fallocate: add FALLOC_FL_PUNCH_HOLE support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Karel Zak wrote:

> On Fri, Nov 18, 2011 at 04:51:37PM +0800, Cong Wang wrote:
> > Recent Linux kernel supports FALLOC_FL_PUNCH_HOLE in fallocate(2).
> > This patch adds FALLOC_FL_PUNCH_HOLE support to fallocate utility,
> > by introducing a new option -p|--punch-hole.
> 
>  Applied, thanks!

My system (OpenSuSE 11.4) lacks FALLOC_FL_PUNCH_HOLE:

  CC     fallocate.o
fallocate.c: In function 'main':
fallocate.c:109:12: error: 'FALLOC_FL_PUNCH_HOLE' undeclared (first use in this function)
fallocate.c:109:12: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [fallocate.o] Error 1

$ uname -a
Linux blackice 2.6.37.6-0.9-desktop #1 SMP PREEMPT 2011-10-19 22:33:27 +0200 x86_64 x86_64 x86_64 GNU/Linux

Berny
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux