]> git.baikalelectronics.ru Git - kernel.git/commit
HFS+: fix unlink of links
authorRoman Zippel <zippel@linux-m68k.org>
Wed, 9 Apr 2008 15:44:07 +0000 (17:44 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 10 Apr 2008 20:37:51 +0000 (13:37 -0700)
commit352bebeb30638b33d944dc245e54623f87208433
tree5d5178cdbf82bcc2ab581826bef033377fa1e210
parentd4395f845f31582ed2b8ee9863ff7564ef286a68
HFS+: fix unlink of links

Some time ago while attempting to handle invalid link counts, I botched
the unlink of links itself, so this patch fixes this now correctly, so
that only the link count of nodes that don't point to links is ignored.
Thanks to Vlado Plaga <rechner@vlado-do.de> to notify me of this
problem.

Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/hfsplus/dir.c