[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20070216213525.A9567@freya>
Date: Fri, 16 Feb 2007 21:35:25 +0800
From: "Adam J. Richter" <adam@...drasil.com>
To: gregkh@...e.de
Cc: linux-kernel@...r.kernel.org
Subject: Patch: move struct sysfs_dirent to private header
Hi Greg,
This is a resubmission of a patch that fell through the
cracks long ago. I've posted it a couple of times, and don't recall
anyone objecting to it.
struct sysfs_dirent is private to the fs/sysfs/ subtree. It is
not even referenced as an opaque structure outside of that subtree.
The following patch moves the declaration from
include/linux/sysfs.h to fs/sysfs/sysfs.h, making it clearer
that nothing else in the kernel dereferences it.
I have been running this patch for years. Please integrate
and forward upstream if there are no objections.
Note that while this patch was generated by stgit, it
was not generated from a tree pulled from kernel.org, so perhaps
a git command that thinks that this patch was generated from a
common ancestor might get confused (I'm not sure). You may want
to integrate it by running patch and checking in the change.
The patch is against 2.6.20-git11.
Adam Richter
View attachment "sysfs-dirent.diff" of type "text/plain" (1343 bytes)
Powered by blists - more mailing lists