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

From: Al Viro
Date: Tue Sep 12 2006 - 21:11:30 EST


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.
-
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/