Re: [PATCH 2/3] btrfs: handle allocation error in update_dev_stat_item

2017-02-21 Thread Liu Bo
On Mon, Feb 20, 2017 at 07:25:04PM +0100, David Sterba wrote: > Signed-off-by: David Sterba > --- > fs/btrfs/volumes.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c > index 1fac98728814..64d6665f6eda 100644 >

[PATCH 2/3] btrfs: handle allocation error in update_dev_stat_item

2017-02-20 Thread David Sterba
Signed-off-by: David Sterba --- fs/btrfs/volumes.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index 1fac98728814..64d6665f6eda 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c @@ -6954,7 +6954,8 @@