Re: [PATCH] esp: tidy up target reference counting

David Miller
2008-06-23T21:58:28Z

From: James Bottomley <James.Bottomley@HansenPartnership.com>
Date: Mon, 23 Jun 2008 14:52:09 -0500

> The esp driver currently does hand rolled reference counting of its
> target. It's much easier to do what it needs to do if it's plugged into
> the mid-layer callbacks (target_alloc and target_destroy) which were
> designed for this case, so do it this way and get rid of the internal
> target reference count.
>
> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>

Much cleaner, thanks!

Signed-off-by: David S. Miller <davem@davemloft.net>