Re: [PATCH] btrfs: qgroup: Fix inconsistent IS_ERR and PTR_ERR

2019-01-31 Thread Gustavo A. R. Silva
On 1/31/19 5:49 AM, David Sterba wrote: > On Wed, Jan 30, 2019 at 08:30:16PM -0600, Gustavo A. R. Silva wrote: >> Fix inconsistent IS_ERR and PTR_ERR in btrfs_qgroup_trace_subtree_after_cow >> >> The proper pointer to be passed as argument is reloc_eb. >> >> This bug was detected with the help o

Re: [PATCH] btrfs: qgroup: Fix inconsistent IS_ERR and PTR_ERR

2019-01-31 Thread David Sterba
On Wed, Jan 30, 2019 at 08:30:16PM -0600, Gustavo A. R. Silva wrote: > Fix inconsistent IS_ERR and PTR_ERR in btrfs_qgroup_trace_subtree_after_cow > > The proper pointer to be passed as argument is reloc_eb. > > This bug was detected with the help of Coccinelle. > > Fixes: 2b35a512e9cf ("btrfs:

[PATCH] btrfs: qgroup: Fix inconsistent IS_ERR and PTR_ERR

2019-01-30 Thread Gustavo A. R. Silva
Fix inconsistent IS_ERR and PTR_ERR in btrfs_qgroup_trace_subtree_after_cow The proper pointer to be passed as argument is reloc_eb. This bug was detected with the help of Coccinelle. Fixes: 2b35a512e9cf ("btrfs: qgroup: Use delayed subtree rescan for balance") Signed-off-by: Gustavo A. R. Silva