Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp2731515imb; Mon, 4 Mar 2019 12:38:44 -0800 (PST) X-Google-Smtp-Source: AHgI3IbpS7RGac+rhgSEygzBmK2hgOV9ZcCtZideMaAPvu6oszSmcaFOh52KTIbygYEKV+BqE1k7 X-Received: by 2002:aa7:8b17:: with SMTP id f23mr22069795pfd.171.1551731924469; Mon, 04 Mar 2019 12:38:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551731924; cv=none; d=google.com; s=arc-20160816; b=ZF+cqg4WJw1jHZ+m+u9iWgAeG/qESSZJMBvOJ76acXXo0qAScdbHQvdm9jQ7xJu5yX vHR5A+VULDVTNJy3i+2yCA/9yprhUAtMictGtVd6ODgaXQe7X2zu0y2DzjUANveTR9C9 tmIzo+7oYqwgatndOXw3o3ticYzwpVy57dpd9zxRf/XNs+pw5QxG3/Wponr5sMOZZuP9 TqwC9g7dMDyaLs/6HTapad4vSxLRpe8vszv9TCduM1pVE9L4GCvomzNGzDFrcEnFLttl q9yaWm7WE3Owoj6yjVFy41N7SiZ2K+qLk83BXIQhZrznI2uJWyLrJBEF6OWJQvriE3xq 8+0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from; bh=mBqH6jSYuQNdRdGrYfcGBDF9jvthOo4JlzHtx+dYqm8=; b=g+jpKRwqIDlTv2SD65mj8FqtqcaCcfW8/BbOGJS0jKlBsfqf7O7olDbPLjq0U/jDGu 1qBxXRA5UNG2RmyKD2lCYpFxAAy3/fADxJPUCvETpQZBamLqB0pg3A2C4yfpXYOC+1f+ HhclrJ1g4N4e+npiSddUZwS/cPzVFBalF55rcedMNKg6osBJ1cczW6JeV6+hL1Z/oYiH dNgjOrU+ymbjCOhHy0pVYONi08OvHsBLvSWgf/UBTncT8xvL1F5GbPgV/dPkws4xG4W8 6gMU3e828VQM8hATMGCrMqk2s389KdG2lV919V/34etMTbUmfxjeW9RzImMLYnt5E9KV XDIA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x17si6190644plr.435.2019.03.04.12.38.29; Mon, 04 Mar 2019 12:38:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726764AbfCDUgj (ORCPT + 99 others); Mon, 4 Mar 2019 15:36:39 -0500 Received: from mga06.intel.com ([134.134.136.31]:14352 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726319AbfCDUgi (ORCPT ); Mon, 4 Mar 2019 15:36:38 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Mar 2019 12:36:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,441,1544515200"; d="scan'208";a="148528335" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga002.fm.intel.com with ESMTP; 04 Mar 2019 12:36:37 -0800 Received: from fmsmsx153.amr.corp.intel.com (10.18.125.6) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 4 Mar 2019 12:36:37 -0800 Received: from fmsmsx113.amr.corp.intel.com ([169.254.13.220]) by FMSMSX153.amr.corp.intel.com ([169.254.9.137]) with mapi id 14.03.0415.000; Mon, 4 Mar 2019 12:36:37 -0800 From: "Verma, Vishal L" To: "Williams, Dan J" , "linux-nvdimm@lists.01.org" CC: "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] libnvdimm/namespace: Clean up holder_class_store() Thread-Topic: [PATCH] libnvdimm/namespace: Clean up holder_class_store() Thread-Index: AQHU0sic3P6LyihHdE+rLyus8q2G8KX8dHQA Date: Mon, 4 Mar 2019 20:36:35 +0000 Message-ID: References: <155173044436.4154095.17954771880753980013.stgit@dwillia2-desk3.amr.corp.intel.com> In-Reply-To: <155173044436.4154095.17954771880753980013.stgit@dwillia2-desk3.amr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.30.5 (3.30.5-1.fc29) x-originating-ip: [10.232.112.185] Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gTW9uLCAyMDE5LTAzLTA0IGF0IDEyOjE0IC0wODAwLCBEYW4gV2lsbGlhbXMgd3JvdGU6DQo+ IFVzZSBzeXNmc19zdHJlcSgpIGluIHBsYWNlIG9mIG9wZW4tY29kZWQgc3RyY21wKCkncyB0aGF0 IGNoZWNrIGZvciBhbg0KPiBvcHRpb25hbCAiXG4iIGF0IHRoZSBlbmQgb2YgdGhlIGlucHV0Lg0K PiANCj4gU2lnbmVkLW9mZi1ieTogRGFuIFdpbGxpYW1zIDxkYW4uai53aWxsaWFtc0BpbnRlbC5j b20+DQo+IC0tLQ0KPiAgZHJpdmVycy9udmRpbW0vb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