mirror of
https://github.com/containers/fuse-overlayfs.git
synced 2025-09-17 11:15:12 -04:00
main: reset O_DIRECT on open
having the fd open with O_DIRECT causes pwrite64 to fail with EINVAL if the write buffer is not aligned. Since we have no control on the buffer provided by libfuse, just drop O_DIRECT. Closes: https://github.com/containers/fuse-overlayfs/issues/167 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
parent
ffc83a4ed6
commit
724ab6d2b3
Loading…
x
Reference in New Issue
Block a user