aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/workqueue.c
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2025-12-12 17:10:10 +0000
committerDavid Sterba <dsterba@suse.com>2025-12-16 22:53:15 +0100
commitf8da41de0bff9eb1d774a7253da0c9f637c4470a (patch)
tree05f13ee120f730eb572cd273b5dbfc2ddc7cee95 /kernel/workqueue.c
parentbtrfs: fix use-after-free warning in btrfs_get_or_create_delayed_node() (diff)
downloadlinux-f8da41de0bff9eb1d774a7253da0c9f637c4470a.tar.gz
linux-f8da41de0bff9eb1d774a7253da0c9f637c4470a.zip
btrfs: do not free data reservation in fallback from inline due to -ENOSPC
If we fail to create an inline extent due to -ENOSPC, we will attempt to go through the normal COW path, reserve an extent, create an ordered extent, etc. However we were always freeing the reserved qgroup data, which is wrong since we will use data. Fix this by freeing the reserved qgroup data in __cow_file_range_inline() only if we are not doing the fallback (ret is <= 0). Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'kernel/workqueue.c')
0 files changed, 0 insertions, 0 deletions
d>1-7/+6 2016-08-24clk: si5351: Migrate to clk_hw based OF and registration APIsStephen Boyd1-30/+41 2016-08-24clk: si514: Migrate to clk_hw based OF and registration APIsStephen Boyd1-6/+5 2016-08-24clk: scpi: Migrate to clk_hw based OF and registration APIsStephen Boyd1-19/+14 2016-08-24clk: rk808: Migrate to clk_hw based OF and registration APIsStephen Boyd1-22/+22 2016-08-24clk: pwm: Migrate to clk_hw based OF and registration APIsStephen Boyd1-5/+4 2016-08-24clk: palmas: Migrate to clk_hw based OF and registration APIsStephen Boyd1-8/+4 2016-08-24clk: nspire: Migrate to clk_hw based OF and registration APIsStephen Boyd1-9/+10 2016-08-24clk: moxart: Migrate to clk_hw based OF and registration APIsStephen Boyd1-10/+12 2016-08-24clk: mb86s7x: Migrate to clk_hw based OF and registration APIsStephen Boyd1-6/+10 2016-08-24clk: efm32gg: Migrate to clk_hw based OF and registration APIsStephen Boyd1-28/+35 2016-08-24clk: cs2000: Migrate to clk_hw based OF and registration APIsStephen Boyd1-10/+6 2016-08-24clk: clps711x: Migrate to clk_hw based OF and registration APIsStephen Boyd1-39/+39 2016-08-24clk: cdce925: Migrate to clk_hw based OF and provider APIsStephen Boyd1-19/+23 2016-08-24clk: cdce: Migrate to clk_hw based OF and registration APIsStephen Boyd1-18/+22 2016-08-24clk: axm5516: Migrate to clk_hw based OF and registration APIsStephen Boyd1-22/+17 2016-08-24clk: axi-clkgen: Migrate to clk_hw based OF and registration APIsStephen Boyd1-6/+6 2016-08-24clk: asm9260: Migrate to clk_hw based registration and OF APIsStephen Boyd1-13/+18 2016-08-24clk: bcm: kona: Migrate to clk_hw based registration and OF APIsStephen Boyd3-51/+41 2016-08-24clk: microchip: Initialize SOSC clock rate for PIC32MZDA.Purna Chandra Mandal1-0/+1 2016-08-24clk: microchip: use readl_poll_timeout() in pbclk_set_rate().Purna Chandra Mandal1-3/+3 2016-08-24clk: tegra: remove TEGRA_PLL_USE_LOCK for PLLD/PLLD2Vince Hsu1-2/+2 2016-08-24clk: mvebu: Remove redundant dev_err call in armada_3700_periph_clock_probe()Wei Yongjun1-3/+1 2016-08-24clk: meson: Fix invalid use of sizeof in gxbb_aoclkc_probe()Wei Yongjun1-1/+1 2016-08-19clk: qcom: gdsc: Add the missing BIMC gdsc for msm8996Rajendra Nayak2-0/+10 2016-08-19clk: imx7d: Add SAI IPG clocksFabio Estevam1-3/+10 2016-08-19clk: imx: Introduce clk_register_gate2()Fabio Estevam1-0/+9 2016-08-19clk: imx7d: Add the clock for SDMAFabio Estevam1-0/+1 2016-08-19clk: meson: Add GXBB AO Clock and Reset controller driverNeil Armstrong2-1/+192 2016-08-19dt-bindings: clock: reset: Add GXBB AO Clock and Reset BindingsNeil Armstrong3-0/+177