On Thu, Apr 8, 2021 at 1:28 PM Chengguang Xu <cgxu519@xxxxxxxxxxxx> wrote: > > ---- 在 星期四, 2021-04-08 19:20:42 Chengguang Xu <cgxu519@xxxxxxxxxxxx> 撰写 ---- > > In overlayfs copy-up, if open flag has O_TRUNC then upper > > file will truncate to zero size, in this case we should check > > VM_DENYWRITE mappings to keep compatibility with other filesystems. Can you provide a test case for the bug that this is fixing? Thanks, Miklos