Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4329472yba; Wed, 17 Apr 2019 09:13:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqwA6ubLK7U79mJw3pjEaPEG/2TXbfjR6uCDTmps89YKbvpd3fnv07eDN06neeNTdVMSbM0h X-Received: by 2002:a65:6496:: with SMTP id e22mr83362663pgv.249.1555517625347; Wed, 17 Apr 2019 09:13:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555517625; cv=none; d=google.com; s=arc-20160816; b=L4qIygbtWpKGum+gl5xI8idOWgB2HjOro0IC2jbZMxDwRR3c43F1GbS9UX9jGI1i45 wsxE0FFZL6uqHZqhFu4mCNwnwyGuXcweEPuxo0UtU6hsySvjCjKxTDNY16rS9e7PaCkl vac2cQtOCdjcDrrR9JBQl6HBDY2m4+WeBAMYGMYyixzPIVy7zLQdt2TKo1Y/bRcJR7GM FP+7aWQJ/MEkmlvwRAbN+Jc8ulvYc7JoZ3JEwL+CZ0jjCIXb0b1SKjibtlmGDSnauGd3 XlqZe9ZMjnCcdMrGR5ZNgeBx1/A+zRckFTTvozti9VGA1w7STnxq1tMsxuSLbfMs4wY6 hI0Q== 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:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=cXA6i/VvEUcf/XD5fpJYxZWmtLgT+XDApuJchH8ddxA=; b=ZG0HJqeStIVkdEypnL8fU/rwAzNXClZXYuT/diTlPZyrW1XP7WqxfMBIY+cbii3VsI Z8RPyKfaBoFjq6e8PBZ4S8UyzZ6x9CurSRUVpKHXOuYVnHu05wfACXhmi7b3zqpWKjnB HbWaHWoNo9xjE5ybqOrKizKRzhE7hr+0Ocr/jy43nKMaUi0ijbsD3thSglc5fuUuUXE9 xK4CbN1SKQB3eq8dxlFKAMu/MQmTQD7yRlN0pzJ+K+2BULylPKE3eJvCPmUoLgoYsxWO HExFSwfd2OEecATablnk5CrquMh1OBAMZzoooAWYetifEoeANCsKw3wSpBct4RlhOXx9 QtAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=selector1 header.b=XU6pZ8xl; 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=pass (p=NONE sp=NONE dis=NONE) header.from=virtuozzo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v4si31290660plb.146.2019.04.17.09.13.29; Wed, 17 Apr 2019 09:13:45 -0700 (PDT) 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; dkim=pass header.i=@virtuozzo.com header.s=selector1 header.b=XU6pZ8xl; 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=pass (p=NONE sp=NONE dis=NONE) header.from=virtuozzo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732634AbfDQQMe (ORCPT + 99 others); Wed, 17 Apr 2019 12:12:34 -0400 Received: from mail-eopbgr40120.outbound.protection.outlook.com ([40.107.4.120]:30542 "EHLO EUR03-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729512AbfDQQMe (ORCPT ); Wed, 17 Apr 2019 12:12:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virtuozzo.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cXA6i/VvEUcf/XD5fpJYxZWmtLgT+XDApuJchH8ddxA=; b=XU6pZ8xlbeZTJTiOAjNzlpNYLkeqZSXiFpVcmMZHAjxKUZEIclRQXrd2m64iw4Zj5UIqE/UP5QOghRKYbYocfCoS7PEZdS45XMQCqGDbX6WPO8m1v7UgcERCJR3XG5gKE8peKUqc/hCxcyteBfM6QgI1/4wLBKtqlsp/Sy9pv5U= Received: from AM0PR08MB5105.eurprd08.prod.outlook.com (10.255.30.86) by AM0PR08MB4260.eurprd08.prod.outlook.com (20.179.32.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1813.12; Wed, 17 Apr 2019 16:12:29 +0000 Received: from AM0PR08MB5105.eurprd08.prod.outlook.com ([fe80::7de4:87d1:9c4b:b25e]) by AM0PR08MB5105.eurprd08.prod.outlook.com ([fe80::7de4:87d1:9c4b:b25e%3]) with mapi id 15.20.1813.011; Wed, 17 Apr 2019 16:12:29 +0000 From: Konstantin Khorenko To: Tejun Heo CC: Greg Kroah-Hartman , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH RFC 1/1] kernfs: keep kernfs node alive for __kernfs_remove() Thread-Topic: [PATCH RFC 1/1] kernfs: keep kernfs node alive for __kernfs_remove() Thread-Index: AQHU9GyPWQ+YPVfbiESxIBDX1jg2naY/KTWAgAFevIA= Date: Wed, 17 Apr 2019 16:12:29 +0000 Message-ID: <0469256f-7af9-c9cb-1c64-5d4bebfad095@virtuozzo.com> References: <20190416155335.14627-1-khorenko@virtuozzo.com> <20190416155335.14627-2-khorenko@virtuozzo.com> <20190416191727.GD374014@devbig004.ftw2.facebook.com> In-Reply-To: <20190416191727.GD374014@devbig004.ftw2.facebook.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: HE1PR0701CA0058.eurprd07.prod.outlook.com (2603:10a6:3:9e::26) To AM0PR08MB5105.eurprd08.prod.outlook.com (2603:10a6:208:160::22) authentication-results: spf=none (sender IP is ) smtp.mailfrom=khorenko@virtuozzo.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [185.231.240.5] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 2f8c3b5f-a737-4813-4d86-08d6c34f7d5d x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600140)(711020)(4605104)(2017052603328)(7193020);SRVR:AM0PR08MB4260; x-ms-traffictypediagnostic: AM0PR08MB4260: x-microsoft-antispam-prvs: x-forefront-prvs: 0010D93EFE x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(396003)(376002)(346002)(136003)(39850400004)(366004)(189003)(199004)(186003)(106356001)(6246003)(102836004)(68736007)(2906002)(8676002)(81166006)(53936002)(386003)(81156014)(6506007)(97736004)(53546011)(7736002)(31696002)(4326008)(8936002)(316002)(6436002)(6486002)(6116002)(446003)(3846002)(54906003)(305945005)(86362001)(71200400001)(71190400001)(229853002)(11346002)(2616005)(52116002)(105586002)(5660300002)(478600001)(66066001)(14454004)(76176011)(25786009)(486006)(99286004)(256004)(14444005)(6916009)(476003)(31686004)(6512007)(26005)(36756003);DIR:OUT;SFP:1102;SCL:1;SRVR:AM0PR08MB4260;H:AM0PR08MB5105.eurprd08.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: virtuozzo.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: aGJfL3BfdSWGiYFeO4xIBA6cpBf3prqL35XkSIHUkespCCUgZZ18mw2BNwjh31A01Pn+N6iUi73iXnnJpD1V3ymQUvxcch85/XLWpyh1ZOu6xnpMguHcP8+gz0xMwSQSapJpqISQxi2Wl5raPeNlEWFa9YpjZIifEO5SFL1Ahhwtzg3ddiBNrNib+2Z2Yk1YP/WZNUIbXvc4u58wyfSgyCcP7AsXG0fEo2b9EjOf3HoPJ7rjmuysbgpnyyQpZ33X7CplcSdoN3rRg99StDrKuPMKhgRQKQcsF4jFRVAfpiNA+yT4TpJxlky1K4GVFrMGyeiB4m7hE8OvklgJeeQ6SvgWfOdWc2WBofP742BWNOGsqj+YTh41+oTZptwy9KSuby63320lxYGTJg1uBZLv1v1x+T+JyEfbOtoZEqTI5b4= Content-Type: text/plain; charset="utf-8" Content-ID: <6F41F548708D1148B1EBAD5B9C1EBE95@eurprd08.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2f8c3b5f-a737-4813-4d86-08d6c34f7d5d X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Apr 2019 16:12:29.5485 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB4260 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMDQvMTYvMjAxOSAxMDoxNyBQTSwgVGVqdW4gSGVvIHdyb3RlOg0KPiBPbiBUdWUsIEFwciAx NiwgMjAxOSBhdCAwNjo1MzozNVBNICswMzAwLCBLb25zdGFudGluIEtob3JlbmtvIHdyb3RlOg0K Pj4gX19rZXJuZnNfcmVtb3ZlKCkgd2hpY2ggaXMgY2FsbGVkIHVuZGVyIGtlcm5mc19tdXRleCwN Cj4+IGFzc3VtZXMgbm9ib2R5IGtpbGxzIGtlcm5mcyBub2RlIHdoaWUgaXQncyB3b3JraW5nIG9u IGl0DQo+PiBhbmQgImdldCJzIGN1cnJlbnQga2VybmZzIG5vZGUgZm9yIHRoYXQuDQo+Pg0KPj4g QnV0IHdlIGhpdCBhIHdhcm5pbmcgaW4ga2VybmZzX2dldCgpOiBrbi0+Y291bnRlciA9PSAwIGFs cmVhZHk6DQo+PiAgI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