[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)
commitaf8c85bb6d4e5352551277edd8448c4dfb2328ab
tree1fb10ca9fb7890db706db358c944308dc0cf616c
parent9a4cad95c9338077487226e22d4e01bc9edebf21
[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