You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ovl: fix IOCB_DIRECT if underlying fs doesn't support direct IO
Normally the check at open time suffices, but e.g loop device does set
IOCB_DIRECT after doing its own checks (which are not sufficent for
overlayfs).
Make sure we don't call the underlying filesystem read/write method with
the IOCB_DIRECT if it's not supported.
Reported-by: Huang Jianan <[email protected]>
Fixes: 16914e6 ("ovl: add ovl_read_iter()")
Cc: <[email protected]> # v4.19
Tested-by: Huang Jianan <[email protected]>
Signed-off-by: Miklos Szeredi <[email protected]>
0 commit comments