[libvirt] [PATCH 3/5] util: Introduce virFileMoveMount

Michal Privoznik mprivozn at redhat.com
Tue Jan 31 14:43:11 UTC 2017


On 01/31/2017 01:29 PM, Olaf Hering wrote:
> On Tue, Jan 31, Michal Privoznik wrote:
> 
>> On 01/31/2017 11:33 AM, Olaf Hering wrote:
>>> /WD20_11.4/usr/include/linux/fs.h:#define MS_MOVE               8192
>> so sys/mount.h is present and does provide the symbol. And yet, compiler
> 
> No, 11.4 had it only in linux/fs.h.

That's why I thought my patch was going to help. Did it?

> If libvirt provides a compat layer for old userland a #ifndef MS_MOVE ;
> #define MS_MOVE 8192 may do the trick.

No, we should not do this. We should include a header file that defines it.

Michal




More information about the libvir-list mailing list