aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/file.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2022-10-30 08:35:28 +0100
committerDavid Sterba <dsterba@suse.com>2022-10-31 16:50:15 +0100
commit063b1f21cc9be07291a1f5e227436f353c6d1695 (patch)
treeef8a3c348236025ca8c3b63c5d5f3cab9631cc81 /fs/btrfs/file.c
parent76a66ba101329316a5d7f4275070be22eb85fdf2 (diff)
btrfs: fix a memory allocation failure test in btrfs_submit_direct
After allocation 'dip' is tested instead of 'dip->csums'. Fix it. Fixes: 642c5d34da53 ("btrfs: allocate the btrfs_dio_private as part of the iomap dio bio") CC: stable@vger.kernel.org # 5.19+ Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/file.c')
0 files changed, 0 insertions, 0 deletions