aboutsummaryrefslogtreecommitdiffstats
path: root/lib/pm-notifier-error-inject.c
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2025-05-12 07:55:42 +0000
committerDavid Sterba <[email protected]>2025-05-15 16:24:15 +0000
commitbf1c74ccba9893adee482fbf6ce84b781e5008a3 (patch)
treeaedcb7e1bb87f72833dc9820ee6262b902d4865c /lib/pm-notifier-error-inject.c
parentbtrfs: fix wrong start offset for delalloc space release during mmap write (diff)
downloadkernel-bf1c74ccba9893adee482fbf6ce84b781e5008a3.tar.gz
kernel-bf1c74ccba9893adee482fbf6ce84b781e5008a3.zip
btrfs: pass true to btrfs_delalloc_release_space() at btrfs_page_mkwrite()
In the last call to btrfs_delalloc_release_space() where the value of the variable 'ret' is never zero, we pass the expression 'ret != 0' as the value for the argument 'qgroup_free', which always evaluates to true. Make this less confusing and more clear by explicitly passing true instead. Reviewed-by: Qu Wenruo <[email protected]> Signed-off-by: Filipe Manana <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/pm-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions