From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id D61DA2035624F for ; Mon, 4 Dec 2017 16:30:17 -0800 (PST) From: Christoph Hellwig Subject: RFC: dev_pagemap reference counting Date: Mon, 4 Dec 2017 16:34:41 -0800 Message-Id: <20171205003443.22111-1-hch@lst.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" To: dan.j.williams@intel.com Cc: linux-mm@kvack.org, linux-nvdimm@lists.01.org List-ID: Hi Dan, maybe I'm missing something, but it seems like we release the reference to the previously found pgmap before passing it to get_dev_pagemap again. Can you check if my findings make sense? _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm