Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp547390ybl; Wed, 29 Jan 2020 05:27:17 -0800 (PST) X-Google-Smtp-Source: APXvYqxPWtJv1WIIXDaqKpFkPJcnxmYOGecZbOQ3iP5r3ZBW83KQm9L1371Zsvntz4/OO2skiUIc X-Received: by 2002:a9d:d0b:: with SMTP id 11mr21169607oti.287.1580304436909; Wed, 29 Jan 2020 05:27:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580304436; cv=none; d=google.com; s=arc-20160816; b=NmBh1FNfukyIFAuWw6NKMKBk/3i1RW+JmqPiTcGBoXI/ygxhCawAzEKEIqAx4vvrdx IyHtwvrb14WS25bTdBrkvB6e5kQWGVg4pSE0ASzJbpQfGy1SKjxOTfZ/kyDFeVK2prvK AknLSvnf6MxAQS1iWcadRMYQReRggJk8eMqOdbloMU+aIRIBqoxJaI0t8JBVRwFaAXep 79NqfO3IV6GWy8ZjoLe074UrEUDXQeYHPtiOVBGjx9PxSNEhoI7INE3mA14ZoNBSBb7v QQ0cxSPL3/5FSVKIG8jrINA484TmjQDClyBBydaV6PtQwH30Ofhj6t/N6Yirstrr54rt OeQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=rdL0q5X1DE/3fCfirr2yw/jIrpErPu/6xER9zmtbJEI=; b=c2Wl9VP7UQlsBAgt1GX3VgFqGYdsvke5udg86xu9mMqKFwhCjKYbiZxu1xjUW+YVtQ OBAelu4j5j2WqlgPOhB20MMOZYg+8rR2GyOtJfOOzmC2P8B6mpk65ygRR9vZC2W1QgVY HtZWXTIKtZjr2ZhJ+qfpjRF+EL/X4RbD0BM+HEjBmHDD6jUghlOFo/P/X8OFVuFH9IlS QRLBdJSOo7CWyj/I3oPKUQoo2/twVxvFwnJUCdFDO/F2IzEOVMGuR/mzvgeqa+58QyRA 4RSEthrZhQQOauWiEegVVnWdF6+PWyymG9K4RCU/Xw3oG4ASo91SIqJVzQznss8sDrM6 l3Tg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g26si1080267otn.180.2020.01.29.05.27.04; Wed, 29 Jan 2020 05:27:16 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726701AbgA2N0B (ORCPT + 99 others); Wed, 29 Jan 2020 08:26:01 -0500 Received: from mx2.suse.de ([195.135.220.15]:53344 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726140AbgA2N0B (ORCPT ); Wed, 29 Jan 2020 08:26:01 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 4A491ACA5; Wed, 29 Jan 2020 13:25:59 +0000 (UTC) Date: Wed, 29 Jan 2020 14:25:58 +0100 From: Michal =?iso-8859-1?Q?Koutn=FD?= To: Christian Brauner Cc: linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, Tejun Heo , Oleg Nesterov , Johannes Weiner , Li Zefan , cgroups@vger.kernel.org Subject: Re: [PATCH v5 2/6] cgroup: add cgroup_get_from_file() helper Message-ID: <20200129132557.GB11384@blackbody.suse.cz> References: <20200121154844.411-1-christian.brauner@ubuntu.com> <20200121154844.411-3-christian.brauner@ubuntu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200121154844.411-3-christian.brauner@ubuntu.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 21, 2020 at 04:48:40PM +0100, Christian Brauner wrote: > Add a helper cgroup_get_from_file(). The helper will be used in > subsequent patches to retrieve a cgroup while holding a reference to the > struct file it was taken from. Acked-by: Michal Koutn?