btrfs: handle allocation error in update_dev_stat_item
authorDavid Sterba <dsterba@suse.com>
Wed, 15 Feb 2017 08:35:01 +0000 (09:35 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 28 Feb 2017 13:27:11 +0000 (14:27 +0100)
commitfa2529923d3bc5f0b39ff7a7c52be74c4aea6f2a
tree228a2689749ebf77226b57041aad582f6e185e7d
parent047e5e17c1e3551ef0fb34b629c66bec0591db0d
btrfs: handle allocation error in update_dev_stat_item

Reviewed-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c