]> 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)
commite6151936dfaeeae4ddbd91d0cea822c8d9bfcf42
tree9b6f1e8e798a6ca77486949e4d920dac1fcc8e7d
parenta31d870f020d35c20c50778220e1e99dabb2e362
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