[dm-devel] [PATCH v2 5/6] md/dm-writecache: Don't request pointer dummy_addr when not required

Mike Snitzer snitzer at redhat.com
Fri Jul 27 19:33:33 UTC 2018


On Wed, Jul 25 2018 at 12:28pm -0400,
Huaisheng Ye <yehs2007 at zoho.com> wrote:

> From: Huaisheng Ye <yehs1 at lenovo.com>
> 
> Function persistent_memory_claim doesn't need to get local pointer
> dummy_addr from direct_access. Using NULL instead of having to pass
> in a useless local pointer that caller then just throw away.
> 
> Suggested-by: Ross Zwisler <ross.zwisler at linux.intel.com>
> Signed-off-by: Huaisheng Ye <yehs1 at lenovo.com>

Acked-by: Mike Snitzer <snitzer at redhat.com>




More information about the dm-devel mailing list