From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Kroah-Hartman Subject: Re: [CFT][PATCH 08/10] sysfs: Add support for permanently empty directories to serve as mount points. Date: Mon, 18 May 2015 06:14:39 -0700 Message-ID: <20150518131439.GA653@kroah.com> References: <87pp63jcca.fsf@x220.int.ebiederm.org> <87siaxuvik.fsf@x220.int.ebiederm.org> <87fv6xtgr2.fsf_-_@x220.int.ebiederm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Linux Containers , linux-fsdevel@vger.kernel.org, Linux API , "Serge E. Hallyn" , Andy Lutomirski , Richard Weinberger , Kenton Varda , Michael Kerrisk-manpages , =?iso-8859-1?Q?St=E9phane?= Graber , Eric Windisch , Tejun Heo To: "Eric W. Biederman" Return-path: Received: from mail.linuxfoundation.org ([140.211.169.12]:43891 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751886AbbERNPR (ORCPT ); Mon, 18 May 2015 09:15:17 -0400 Content-Disposition: inline In-Reply-To: <87fv6xtgr2.fsf_-_@x220.int.ebiederm.org> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Fri, May 15, 2015 at 09:09:53PM -0500, Eric W. Biederman wrote: > > Add two functions sysfs_create_mount_point and sysfs_remove_mount_point > that hang a permanently empty directory off of a kobject or remove a > permanently emptpy directory hanging from a kobject. Export these new > functions so modular filesystems can use them. > > Cc: stable@vger.kernel.org > Signed-off-by: "Eric W. Biederman" > --- > fs/sysfs/dir.c | 34 ++++++++++++++++++++++++++++++++++ > include/linux/sysfs.h | 16 ++++++++++++++++ > 2 files changed, 50 insertions(+) Acked-by: Greg Kroah-Hartman