# RE: \[PATCH 4/4\] dm: convert table\_device.count from atomic\_t to refcount\_t

- From: Reshetova, Elena \<elena.reshetova@intel.com\>
- Date: 2017-11-24 14:44:46 
- List: linux-raid
- Page: https://ratatoskr.run/linux-raid/2017/11/5140223
- Thread: https://ratatoskr.run/linux-bcache/2017/10/5114635/t.md

```text
> On Fri, Nov 24, 2017 at 08:29:42AM +0000, Reshetova, Elena wrote:
> > By looking at the code, I don't see where the change in the reference counting
> > could have caused this.
> 
> The cause was the bug I identified in patch 3, not this patch.

Oh, ok, because I could not figure an issue with this patch. 
I will send the fixing patch shortly. 

Best Regards,
Elena.

> 
> The regression is easily hit - tables that reference the same underlying device
> more than once are very common.
> 
> Alasdair
```
