]> git.baikalelectronics.ru Git - kernel.git/commit
ovl: add splice file read write helper
authorMurphy Zhou <jencce.kernel@gmail.com>
Fri, 17 Jan 2020 12:49:29 +0000 (20:49 +0800)
committerMiklos Szeredi <mszeredi@redhat.com>
Fri, 24 Jan 2020 15:28:15 +0000 (16:28 +0100)
commit1cf8f9e87fe2464d7475cd92da44bd4e221059c8
tree9b6f1e8e798a6ca77486949e4d920dac1fcc8e7d
parentc5d0f0496a3cc945fbb71cf4c339f9a89cd4a63f
ovl: add splice file read write helper

Now overlayfs falls back to use default file splice read
and write, which is not compatiple with overlayfs, returning
EFAULT. xfstests generic/591 can reproduce part of this.

Tested this patch with xfstests auto group tests.

Signed-off-by: Murphy Zhou <jencce.kernel@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/overlayfs/file.c