Re: [PATCH 13/18] shared mounts handling: move

From: Al Viro
Date: Wed Nov 09 2005 - 09:33:05 EST


On Wed, Nov 09, 2005 at 12:14:30PM +0100, Miklos Szeredi wrote:
> > From: Ram Pai <linuxram@xxxxxxxxxx>
> > Date: 1131402003 -0500
> >
> > Handling of mount --move in presense of shared mounts (see
> > Documentation/sharedsubtree.txt in the end of patch series
> > for detailed description).
>
> This patch seems to be totally wrong. It copies the mounts instead of
> moving them in the propagated cases.
>
> Am I missing something?

Yes, you are. We move a single subtree (which has no peers at all)
to mountpoint that gives propagation. The subtree itself gets moved
to specified mountpoint; for the rest of points in propagation tree
of that mountpoint we have no choice but to create copies.
-
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/