btrfs: extent-tree: Add lockdep assert when updating space info
authorQu Wenruo <wqu@suse.com>
Mon, 29 Apr 2019 06:03:32 +0000 (14:03 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 1 Jul 2019 11:34:58 +0000 (13:34 +0200)
commit0185f364cb65855cdf5dfd0de11f8f9622940250
treef9441b78317594af663f11c85ebb6a03a8b0bd21
parentcff8267228c14e56ded8407787d4328603423b3e
btrfs: extent-tree: Add lockdep assert when updating space info

Just add a safe net for btrfs_space_info member updating.

Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-tree.c