Re: [PATCH 21/28] dgrp: Clean up the use of procfs [RFC]

From: Greg KH
Date: Tue Apr 16 2013 - 21:02:33 EST


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 <dhowells@xxxxxxxxxx>
> cc: Bill Pemberton <wfp5p@xxxxxxxxxxxx>
> cc: Tommi Rantala <tt.rantala@xxxxxxxxx>
> cc: devel@xxxxxxxxxxxxxxxxxxxx

Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/