Re: [PATCH 1/1] VFS: fixes a bug in sys_linkat()

From: Ram Pai
Date: Tue Sep 12 2006 - 21:32:56 EST


On Wed, 2006-09-13 at 02:11 +0100, Al Viro wrote:
> On Tue, Sep 12, 2006 at 05:57:38PM -0700, Ram Pai wrote:
> > Hardlink using sys_linkat() returns EXDEV when the source and the destination
> > point to the same filesystem, residing under different mounts.
>
> ... and that is absolutely deliberate. Ability to restrict links to
> a subtree is a deliberate feature.

But wondering what side effects will it have if we allowed it to create
hardlinks?

RP



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