]> git.baikalelectronics.ru Git - kernel.git/commit
ovl: respect FIEMAP_FLAG_SYNC flag
authorAmir Goldstein <amir73il@gmail.com>
Mon, 27 Aug 2018 12:55:59 +0000 (15:55 +0300)
committerMiklos Szeredi <mszeredi@redhat.com>
Thu, 30 Aug 2018 15:08:35 +0000 (17:08 +0200)
commitbb591b915f48f412fe4b1fc6f0cefebb35a08528
tree8d20ff41f27c2b86666654cb8cb1b0721ab794fe
parentf030a7bb7b1f7de16c1c716a587185e209e25800
ovl: respect FIEMAP_FLAG_SYNC flag

Stacked overlayfs fiemap operation broke xfstests that test delayed
allocation (with "_test_generic_punch -d"), because ovl_fiemap()
failed to write dirty pages when requested.

Fixes: a75f18a091eb ("ovl: add ovl_fiemap()")
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/overlayfs/inode.c