]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
btrfs: error out if btrfs_attach_transaction() fails
authorAnand Jain <anand.jain@oracle.com>
Thu, 28 Sep 2017 06:51:11 +0000 (14:51 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 30 Oct 2017 11:27:58 +0000 (12:27 +0100)
commit7132a262595a43abd483f1c5139afc038c67fbbb
treef9e90d3ff5c4c1f3bf9c06b8296673c42137a8e2
parentd31c32f6745a646b34ed3e29456cc95b12a70e11
btrfs: error out if btrfs_attach_transaction() fails

btrfs_init_new_device() calls btrfs_attach_transaction() to
commit sys chunks, and it should error out if it fails.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Qu Wenruo <quwenruo.btrfs@gmx.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c