Re: [PATCH] new syscall: flink

Roman Zippel (zippel@linux-m68k.org)
Mon, 7 Apr 2003 15:19:19 +0200 (CEST)


Hi,

On Mon, 7 Apr 2003, Andreas Schwab wrote:

> |> I wouldn't rely on this functionality, not all filesystems might like it
> |> to have to recreate a deleted fs entry. Most filesystems should be able to
> |> do this, but all fs drivers have to be checked, that they do the right
> |> thing.
>
> All filesystems already have to cope with unlinking of an open file
> anyway, so relinking should not be a problem.

I know, but creating a new dir entry and linking to an existing dir entry
is not always the same, e.g. filesystems, where a dir entry is not simply
a pointer to an inode table, have to update other entries as well to
create a new link. So far filesystems could assume that source dentry was
a valid dir entry, this patch changes this.

bye, Roman

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/