[Virtio-fs] [PATCH 0/2] overlayfs: Fix overlayfs on virtiofs open(O_TRUNC) issue

Vivek Goyal vgoyal at redhat.com
Wed Apr 22 13:08:48 UTC 2020


Hi Miklos,

Here are couple of fixes solving open(O_TRUNC) issue while overlayfs
is layered on top of virtiofs.

These are also available here.

https://github.com/rhvgoyal/linux/commits/ovl-setattr-fix

Thanks
Vivek

Vivek Goyal (2):
  overlayfs: ovl_setattr() should clear ATTR_FILE from attr->ia_valid
  overlayfs: ovl_setattr() should clear ATTR_OPEN

 fs/overlayfs/inode.c | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

-- 
2.25.3




More information about the Virtio-fs mailing list