btrfs: drop chunk locks at the end of close_ctree
authorDavid Sterba <dsterba@suse.com>
Thu, 22 Jun 2017 01:59:40 +0000 (03:59 +0200)
committerDavid Sterba <dsterba@suse.com>
Wed, 16 Aug 2017 14:12:04 +0000 (16:12 +0200)
commit4958aa6821c7c4e9682806bc4fea92250d020829
treec4adcab287d6ec31cd1dd5b4949f4ce67121b0ac
parentd3c0bab5632337f6d3841fbe0dc238a743cb4472
btrfs: drop chunk locks at the end of close_ctree

The pinned chunks might be left over so we clean them but at this point
of close_ctree, there's noone to race with, the locking can be removed.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c