From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Subject: Re: [PATCH 21/28] dgrp: Clean up the use of procfs [RFC] Date: Tue, 16 Apr 2013 18:02:13 -0700 Message-ID: <20130417010213.GG11541@kroah.com> References: <20130416182550.27773.89310.stgit@warthog.procyon.org.uk> <20130416182713.27773.66239.stgit@warthog.procyon.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, devel@driverdev.osuosl.org, Tommi Rantala , viro@zeniv.linux.org.uk To: David Howells Return-path: Content-Disposition: inline In-Reply-To: <20130416182713.27773.66239.stgit@warthog.procyon.org.uk> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Tue, Apr 16, 2013 at 07:27:13PM +0100, David Howells wrote: > Clean up the use of procfs by the dgrp driver: > > (1) Use remove_proc_subtree() for the mass slaughter of a subdir full of proc > files rather than doing it manually. > > (2) When creating files, only call ID_TO_CHAR() once to generate the name. > > Signed-off-by : David Howells > cc: Bill Pemberton > cc: Tommi Rantala > cc: devel@driverdev.osuosl.org Acked-by: Greg Kroah-Hartman