Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753883AbdDDKq4 (ORCPT ); Tue, 4 Apr 2017 06:46:56 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:34692 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753448AbdDDKqO (ORCPT ); Tue, 4 Apr 2017 06:46:14 -0400 Subject: Re: [RFC 4/8] p2pmem: Add debugfs "stats" file To: Logan Gunthorpe , Christoph Hellwig , "James E.J. Bottomley" , "Martin K. Petersen" , Jens Axboe , Steve Wise , Stephen Bates , Max Gurtovoy , Dan Williams , Keith Busch , Jason Gunthorpe References: <1490911959-5146-1-git-send-email-logang@deltatee.com> <1490911959-5146-5-git-send-email-logang@deltatee.com> Cc: linux-pci@vger.kernel.org, linux-scsi@vger.kernel.org, linux-nvme@lists.infradead.org, linux-rdma@vger.kernel.org, linux-nvdimm@ml01.01.org, linux-kernel@vger.kernel.org From: Sagi Grimberg Message-ID: <95928b70-0148-7297-8f5e-5031d996bb98@grimberg.me> Date: Tue, 4 Apr 2017 13:46:09 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <1490911959-5146-5-git-send-email-logang@deltatee.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 266 Lines: 9 > + p2pmem_debugfs_root = debugfs_create_dir("p2pmem", NULL); > + if (!p2pmem_debugfs_root) > + pr_info("could not create debugfs entry, continuing\n"); > + Why continue? I think it'd be better to just fail it. Besides, this can be safely squashed into patch 1.