Thread (49 messages) 49 messages, 4 authors, 2025-08-25

Re: [PATCH v3 07/12] man/man2/fsmount.2: document "new" mount API

From: Aleksa Sarai <hidden>
Date: 2025-08-20 10:39:12
Also in: linux-fsdevel, linux-man, lkml

On 2025-08-20, Askar Safin [off-list ref] wrote:
 ---- On Tue, 12 Aug 2025 18:33:04 +0400  Aleksa Sarai [off-list ref] wrote --- 
 >   Unlike open_tree(2) with OPEN_TREE_CLONE, fsmount() can only be called
 >   once in the lifetime of a filesystem context.

Weird. open_tree doesn't get filesystem context as argument at all.
I suggest just this:

  fsmount() can only be called
  once in the lifetime of a filesystem context.
The reason I wanted to include the comparison is that you can create
multiple mount objects from the same underlying object using
open_tree(2) but that's not possible with fsmount(2) (at least, not
without creating a new filesystem context each time).

-- 
Aleksa Sarai
Senior Software Engineer (Containers)
SUSE Linux GmbH
https://www.cyphar.com/

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help