lkml.org 
[lkml]   [2018]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 03/34] teach move_mount(2) to work with OPEN_TREE_CLONE [ver #12]
Date
Alan Jenkins <alan.christopher.jenkins@gmail.com> wrote:

> If I instead do the mount+unmount first, and close the FD as a second step, I
> think there's a lockup in the close().  The lockup happens in the same place
> as the unmount lockup from before. (Except there's a line "Code: Bad RIP
> value", I don't know why that happens).

Sorry, which FD are we talking about?

I presume you're talking about a command sequence like this:

# unshare --mount
# test-fsmount
# mount --move . /mnt
# mount --move /mnt /mnt
# cd
# umount /mnt
# exit

but this fails on your modified test-fsmount with:

shell-init: error retrieving current directory: getcwd: cannot access
parent directories: No such file or directory

David

\
 
 \ /
  Last update: 2018-10-18 22:09    [W:0.190 / U:6.440 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site