lkml.org 
[lkml]   [2018]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 30/32] vfs: Allow cloning of a mount tree with open(O_PATH|O_CLONE_MOUNT) [ver #8]
    On Fri, May 25, 2018 at 01:08:38AM +0100, David Howells wrote:
    > Make it possible to clone a mount tree with a new pair of open flags that
    > are used in conjunction with O_PATH:
    >
    > (1) O_CLONE_MOUNT - Clone the mount or mount tree at the path.
    >
    > (2) O_NON_RECURSIVE - Don't clone recursively.

    Err. I don't think we should use up two O_* flags for something
    only useful for your new mount API. Don't we have a better place
    to for these flags?

    Instead of overloading this on open having a specific syscalls just
    seems like a much saner idea.

    \
     
     \ /
      Last update: 2018-06-01 08:28    [W:5.050 / U:2.452 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site