Re: [PATCH 00/10] sysfs tagged directories

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric W. Biederman
Date: Thursday, May 1, 2008 - 11:34 am

"Serge E. Hallyn" <serue@us.ibm.com> writes:


The symlink is gone by the real directory remains?


Darn.  It appears we have a regression in this patchset.
That part used to work.

I was thinking of blaming sysfs_rename_link.  But it the
links are fine so it looks more likely that sysfs has morphed once
again and we have  a reference counting issue or something similar.
Yuck. d_move and the other moves should have worked.

From a purely get the good less controversial parts of this
patchset in.  I suggest we look at patches 7/10 and 8/10 (without
the tag_ops).  And introduce and start using sysfs_delete_link
and sysfs_rename_link.  That code seems pretty stable and is
generally a code reduction all by itself by reducing a common
idiom into a single function.

Eric
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 00/10] sysfs tagged directories, Benjamin Thery, (Tue Apr 29, 10:10 am)
Re: [PATCH 00/10] sysfs tagged directories, Greg KH, (Tue Apr 29, 10:36 am)
Re: [PATCH 00/10] sysfs tagged directories, Serge E. Hallyn, (Tue Apr 29, 11:04 am)
Re: [PATCH 00/10] sysfs tagged directories, Greg KH, (Tue Apr 29, 11:41 am)
Re: [PATCH 00/10] sysfs tagged directories, Eric W. Biederman, (Tue Apr 29, 12:14 pm)
Re: [PATCH 00/10] sysfs tagged directories, Serge E. Hallyn, (Tue Apr 29, 12:34 pm)
Re: [PATCH 00/10] sysfs tagged directories, Eric W. Biederman, (Tue Apr 29, 12:35 pm)
Re: [PATCH 00/10] sysfs tagged directories, Eric W. Biederman, (Tue Apr 29, 1:10 pm)
Re: [PATCH 00/10] sysfs tagged directories, Greg KH, (Wed Apr 30, 8:12 pm)
Re: [PATCH 00/10] sysfs tagged directories, Greg KH, (Wed Apr 30, 8:13 pm)
Re: [PATCH 00/10] sysfs tagged directories, Serge E. Hallyn, (Thu May 1, 8:10 am)
Re: [PATCH 00/10] sysfs tagged directories, Eric W. Biederman, (Thu May 1, 11:34 am)
Re: [PATCH 00/10] sysfs tagged directories, Serge E. Hallyn, (Thu May 1, 2:05 pm)
Re: [PATCH 00/10] sysfs tagged directories, Eric W. Biederman, (Thu May 1, 2:58 pm)
Re: [PATCH 00/10] sysfs tagged directories, Serge E. Hallyn, (Fri May 2, 10:42 am)
Re: [PATCH 00/10] sysfs tagged directories, Daniel Lezcano, (Sun May 4, 4:13 pm)
Re: [PATCH 00/10] sysfs tagged directories, Serge E. Hallyn, (Mon May 5, 9:18 am)
Re: [PATCH 00/10] sysfs tagged directories, Benjamin Thery, (Tue May 6, 9:53 am)