diff options
author | David Howells <[email protected]> | 2018-11-05 17:40:31 +0000 |
---|---|---|
committer | Al Viro <[email protected]> | 2019-03-20 18:49:06 -0400 |
commit | 44dfd84a6d54a675e35ab618d9fab47b36cb78cd (patch) | |
tree | 6b5542f217686066119c9bdfed2182e2c2a6d4a9 /net/lapb/lapb_timer.c | |
parent | 2db154b3ea8e14b04fee23e3fdfd5e9d17fbc6ae (diff) |
teach move_mount(2) to work with OPEN_TREE_CLONE
Allow a detached tree created by open_tree(..., OPEN_TREE_CLONE) to be
attached by move_mount(2).
If by the time of final fput() of OPEN_TREE_CLONE-opened file its tree is
not detached anymore, it won't be dissolved. move_mount(2) is adjusted
to handle detached source.
That gives us equivalents of mount --bind and mount --rbind.
Thanks also to Alan Jenkins <[email protected]> for
providing a whole bunch of ways to break things using this interface.
Signed-off-by: Al Viro <[email protected]>
Signed-off-by: David Howells <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions