Thread (49 messages) 49 messages, 6 authors, 2020-08-27

Re: [PATCH 15/18] fsinfo: Add an attribute that lists all the visible mounts in a namespace [ver #21]

From: David Howells <dhowells@redhat.com>
Date: 2020-08-05 19:57:00
Also in: linux-fsdevel, linux-security-module, lkml

Miklos Szeredi [off-list ref] wrote:
quoted
where each element contains a once-in-a-system-lifetime unique ID, the
mount ID (which may get reused), the parent mount ID and sums of the
notification/change counters for the mount and its superblock.
The change counters are currently conditional on CONFIG_MOUNT_NOTIFICATIONS.
Is this is intentional?
Yeah - the counters aren't driven unless CONFIG_MOUNT_NOTIFICATIONS=y.

I could perhaps make it so they're driven in both cases, but driving the
in-subtree counter is somewhat tied up in the notification posting.

This is something that can be fixed after this patchset is taken - if it is
taken since that doesn't change the UAPI.

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