Messages in this thread | | | From | David Howells <> | Subject | Re: [PATCH 03/34] teach move_mount(2) to work with OPEN_TREE_CLONE [ver #12] | Date | Wed, 10 Oct 2018 12:56:30 +0100 |
| |
Alan Jenkins <alan.christopher.jenkins@gmail.com> wrote:
> I replied last time to wonder about the MNT_UMOUNT mnt_flag. So I've tested it > now :-), on David's current tree (commit 5581f4935add). > > The modified do_move_mount() allows re-attaching something that was > lazy-unmounted. But the lazy unmount sets MNT_UMOUNT. And this flag is not > cleared when the mount is re-attached.
Sorry, yes. I'm not sure what the best way to deal with this is. Should it just return -EPERM or -ESTALE if MNT_UMOUNT is set?
David
| |