summaryrefslogtreecommitdiff
path: root/include/linux/i2c/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorJingkai Tan <contact@jingk.ai>2026-01-22 21:14:10 +0000
committerDavid Sterba <dsterba@suse.com>2026-02-26 15:03:26 +0100
commit2970525f789c080e7e82ecb09cd85a8bb1d284e4 (patch)
tree1920a837c7ca4e70952025bd18602f3a9cb597e5 /include/linux/i2c/git@git.tavy.me:linux.git
parentecb7c2484cfc83a93658907580035a8adf1e0a92 (diff)
btrfs: handle discard errors in in btrfs_finish_extent_commit()
Coverity (ID: 1226842) reported that the return value of btrfs_discard_extent() is assigned to ret but is immediately overwritten by unpin_extent_range() without being checked. Use the same error handling that is done later in the same function. Signed-off-by: Jingkai Tan <contact@jingk.ai> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions