From: Greg KH <gregkh@suse.de>
To: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] sysfs: fix hardlink count on device_move
Date: Wed, 15 Jul 2009 06:20:36 -0700 [thread overview]
Message-ID: <20090715132036.GC9688@suse.de> (raw)
In-Reply-To: <4A5D9EB7.30603@linux.vnet.ibm.com>
On Wed, Jul 15, 2009 at 11:17:43AM +0200, Peter Oberparleiter wrote:
> Greg KH wrote:
> > On Tue, Jul 14, 2009 at 05:56:15PM +0200, Peter Oberparleiter wrote:
> >> From: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
> >>
> >> Update directory hardlink count when moving kobjects to a new parent.
> >> Fixes the following problem which occurs when several devices are
> >> moved to the same parent and then unregistered:
> >>
> >>> ls -laF /sys/devices/css0/defunct/
> >>> total 0
> >>> drwxr-xr-x 4294967295 root root 0 2009-07-14 17:02 ./
> >>> drwxr-xr-x 114 root root 0 2009-07-14 17:02 ../
> >>> drwxr-xr-x 2 root root 0 2009-07-14 17:01 power/
> >>> -rw-r--r-- 1 root root 4096 2009-07-14 17:01 uevent
> >> Signed-off-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
> >
> > Thanks for the patch.
> >
> > Is this something new in 2.6.31-rc, or does it also show up in .30
> > and/or .27?
>
> This is an old problem that existed since the introduction of
> sysfs_move_dir() in 2.6.20.
Thanks for the info, I'll mark it as such.
greg k-h
prev parent reply other threads:[~2009-07-15 13:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-14 15:56 [PATCH] sysfs: fix hardlink count on device_move Peter Oberparleiter
2009-07-14 16:04 ` Greg KH
2009-07-15 9:17 ` Peter Oberparleiter
2009-07-15 13:20 ` Greg KH [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090715132036.GC9688@suse.de \
--to=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=oberpar@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.