summaryrefslogtreecommitdiff
path: root/scripts/prune-kernel
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2021-08-31 14:18:08 +0200
committerMiklos Szeredi <mszeredi@redhat.com>2021-08-31 14:18:08 +0200
commit59bda8ecee2ffc6a602b7bf2b9e43ca669cdbdcd (patch)
tree92d787ebb53e6ad94e9fe52a158d011abb74d193 /scripts/prune-kernel
parent76224355db7570cbe6b6f75c8929a1558828dd55 (diff)
downloadkernel-59bda8ecee2ffc6a602b7bf2b9e43ca669cdbdcd.tar.gz
fuse: flush extending writes
Callers of fuse_writeback_range() assume that the file is ready for modification by the server in the supplied byte range after the call returns. If there's a write that extends the file beyond the end of the supplied range, then the file needs to be extended to at least the end of the range, but currently that's not done. There are at least two cases where this can cause problems: - copy_file_range() will return short count if the file is not extended up to end of the source range. - FALLOC_FL_ZERO_RANGE | FALLOC_FL_KEEP_SIZE will not extend the file, hence the region may not be fully allocated. Fix by flushing writes from the start of the range up to the end of the file. This could be optimized if the writes are non-extending, etc, but it's probably not worth the trouble. Fixes: a2bc92362941 ("fuse: fix copy_file_range() in the writeback case") Fixes: 6b1bdb56b17c ("fuse: allow fallocate(FALLOC_FL_ZERO_RANGE)") Cc: <stable@vger.kernel.org> # v5.2 Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'scripts/prune-kernel')
0 files changed, 0 insertions, 0 deletions
3ARM: dts: exynos: Fix DTC unit name warnings in Exynos3250Krzysztof Kozlowski 2016-04-01ARM: dts: exynos: Add MSHC2 DT node for Exynos3250 SoCChanwoo Choi 2016-04-01ARM: dts: exynos: Add UART2 DT node for Exynos3250 SoCPankaj Dubey 2016-03-12ARM, ARM64: dts: drop "arm,amba-bus" in favor of "simple-bus"Masahiro Yamada 2016-02-25ARM: dts: exynos: Move syscon reboot/poweroff to common dtsiJavier Martinez Canillas 2015-11-20ARM: dts: Add syscon-{reboot, poweroff} nodes for exynos3250Alim Akhtar 2015-10-24ARM: dts: use exynos5420-dw-mshc compatible for exynos3250Jaehoon Chung 2015-08-14ARM: dts: Add CPU cooling binding for exynos3250 boardsChanwoo Choi 2015-08-14ARM: dts: Add CPU OPP and regulator supply property for exynos3250Chanwoo Choi 2015-07-21ARM: dts: Update video-phy node with syscon phandle for exynos3250Beata Michalska 2015-06-04ARM: dts: add sysmmu nodes for exynos3250Marek Szyprowski 2015-05-17ARM: dts: Use s3c6410-rtc instead of exynos3250-rtc for exynos3250/4415Krzysztof Kozlowski 2015-05-09ARM: dts: add JPEG codec device node for exynos3250Jacek Anaszewski 2015-04-22Merge tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/ar...Linus Torvalds 2015-04-11Merge tag 'irqchip-core-4.1-3' of git://git.infradead.org/users/jcooper/linux...Thomas Gleixner 2015-04-03Merge tag 'samsung-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene...Olof Johansson 2015-03-18ARM: exynos4/5: convert pmu wakeup to stacked domainsMarc Zyngier 2015-03-18ARM: dts: Add assigned clock parents to CMU node for exynos3250Beata Michalska 2015-02-27ARM: dts: Provide dt bindings identical for Exynos TMULukasz Majewski 2015-02-04ARM: dts: Add PPMU dt node for exynos3250Chanwoo Choi 2015-01-24ARM: dts: convert to generic power domain bindings for exynos DTMarek Szyprowski 2015-01-12ARM: dts: Add hsotg node for exynos3250Jaewon Kim 2015-01-12ARM: dts: Add exynos_usbphy node for exynos3250Jaewon Kim 2014-12-15Merge tag 'staging-3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds