Re: [PATCH v5 1/2] sysfs: added sysfs_link_entry_to_kobj()

From: Jarkko Sakkinen
Date: Mon May 11 2015 - 04:14:30 EST


On Sun, May 10, 2015 at 04:11:54PM +0200, Greg Kroah-Hartman wrote:
> On Wed, May 06, 2015 at 09:00:19AM +0300, Jarkko Sakkinen wrote:
> > On Mon, May 04, 2015 at 09:42:25AM +0200, Greg Kroah-Hartman wrote:
> > > On Mon, May 04, 2015 at 09:57:13AM +0300, Jarkko Sakkinen wrote:
> > > > On Sun, 2015-05-03 at 20:00 +0200, Greg Kroah-Hartman wrote:
> > > > > On Sat, May 02, 2015 at 09:10:52PM +0300, Jarkko Sakkinen wrote:
> > > > > > Added a new function sysfs_link_group_to_kobj() that adds a symlink
> > > > > > from attribute or group to a kobject. Exported kernfs_remove_by_name_ns
> > > > > > in order to provide a way to remove such symlinks.
> > > > > >
> > > > > > Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx>
> > > > > > ---
> > > > > > fs/sysfs/group.c | 42 ++++++++++++++++++++++++++++++++++++++++++
> > > > > > include/linux/sysfs.h | 8 ++++++++
> > > > > > 2 files changed, 50 insertions(+)
> > > > >
> > > > > What changed from v4? Why keep resending this?
> > > >
> > > > Yesterday, I had by mistake --subject-prefix="PATCH v4". From
> > > > original v4 changes are enumerated in the cover letter. Sorry.
> > >
> > > What cover letter? All I got was this patch, and nothing else, no 2/2
> > > or 0/2.
> >
> > Changes since v4:
> > * Removed dangling export of kernfs_remove_by_name_ns() from the first
> > patch.
> >
> > Changes since v3:
> > * Use sysfs_remove_link()
> >
> > Changes since v2:
> > * Fixed to_tpm_chip() macro.
> > * Split into two patches.
> > * Renamed sysfs_link_group_to_kobj to sysfs_link_entry_to_kobj
> > * Only create the "backwards compatibility" symlink for TPM 1.x devices.
> >
> > [1] https://lkml.org/lkml/2015/5/2/139
>
> I only see one patch here, please resend this whole thing correctly...

OK, now that I looked at my command history I think I messed with my
send-email command-line :( Sorry for the caused confusion. I'll resend
the patch set.

/Jarkko

--
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/