summaryrefslogtreecommitdiffstats
path: root/scripts/asn1_compiler.c
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2021-09-27 11:23:57 +0200
committerMiklos Szeredi <mszeredi@redhat.com>2021-09-28 09:16:12 +0200
commit1dc1eed46f9fa4cb8a07baa24fb44c96d6dd35c9 (patch)
treebdd3994a59af1aadf9552c99516cd2f6cd994302 /scripts/asn1_compiler.c
parentovl: fix missing negative dentry check in ovl_rename() (diff)
downloadlinux-1dc1eed46f9fa4cb8a07baa24fb44c96d6dd35c9.tar.xz
linux-1dc1eed46f9fa4cb8a07baa24fb44c96d6dd35c9.zip
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 <huangjianan@oppo.com> Fixes: 16914e6fc7e1 ("ovl: add ovl_read_iter()") Cc: <stable@vger.kernel.org> # v4.19 Tested-by: Huang Jianan <huangjianan@oppo.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'scripts/asn1_compiler.c')
0 files changed, 0 insertions, 0 deletions