dentry question

Hans-Joachim Widmaier (hjwidmai@foxboro.com)
Mon, 13 Oct 1997 06:56:32 +0200


Hello,

I'm currently updating the affs for the dentry stuff. While
testing, I came across some problems with (hard) links and
decided to rework this part. Most of it is done and looks
ok, but there's one thing left: When a file which has hard
links to it is deleted, one of the links must be turned
into a file. I therefor have to change the inode of the
dentry which describes the former link. May I safely call
lookup() and change dentry->d_inode of the returned dentry?

Thank you,
hjw