aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorPeter Oberparleiter <[email protected]>2009-07-14 15:56:15 +0000
committerGreg Kroah-Hartman <[email protected]>2009-07-28 20:45:21 +0000
commit0f58b44582001c8bcdb75f36cf85ebbe5170e959 (patch)
tree4d9f1a2ff668f37db7f0d5b5076307213868d2fb /lib/dynamic_debug.c
parentmm: Remove duplicate definitions in MIPS and SH (diff)
downloadkernel-0f58b44582001c8bcdb75f36cf85ebbe5170e959.tar.gz
kernel-0f58b44582001c8bcdb75f36cf85ebbe5170e959.zip
sysfs: fix hardlink count on device_move
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 <[email protected]> Cc: stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions