]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] hfs: set correct create date for links
authorRoman Zippel <zippel@linux-m68k.org>
Thu, 19 Jan 2006 01:43:10 +0000 (17:43 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 19 Jan 2006 03:20:23 +0000 (19:20 -0800)
commita6bcabb434389de82977b6426ec9ad5fe7b1a8fe
tree1fb10ca9fb7890db706db358c944308dc0cf616c
parent2758d7752c7641f0435630201391ecfb6bc877e3
[PATCH] hfs: set correct create date for links

HFS+ also requires the correct creation date so recent version of OS X
recognize it as link.
Improve link handling:
- if something is wrong with the link, ignore the link attribute and treat
  it as regular file (this also fixes a missing unlock during lookup).
- check for incorrect link counts during unlink.

Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/hfsplus/catalog.c
fs/hfsplus/dir.c