]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: return allocated block group from do_chunk_alloc()
authorNaohiro Aota <naohiro.aota@wdc.com>
Tue, 22 Mar 2022 09:11:33 +0000 (18:11 +0900)
committerDavid Sterba <dsterba@suse.com>
Tue, 5 Apr 2022 22:50:39 +0000 (00:50 +0200)
commitfdc8021db7def7a7df4c8bd913b96ae063969383
treeb9c498a0e9b4e37fa9dffcd50d9cdc9e18826b89
parent39abbcd334b542d46a830e014dfb7f017d5da570
btrfs: return allocated block group from do_chunk_alloc()

Return the allocated block group from do_chunk_alloc(). This is a
preparation patch for the next patch.

CC: stable@vger.kernel.org # 5.16+
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Tested-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/block-group.c