Re: [PATCH 09/25] vfs: Allow mount information to be queried by fsinfo() [ver #13]

2019-06-18 Thread David Howells
Joel Fernandes wrote: > > + record.mnt_id = m->mnt_id; > > + record.notify_counter = atomic_read(>mnt_notify_counter); > > + store_mount_fsinfo(params, ); > > + > > + rcu_read_unlock(); > > Not super familiar with this code, but wanted to check with you: > > Here, if the rcu_read_lock

Re: [PATCH 09/25] vfs: Allow mount information to be queried by fsinfo() [ver #13]

2019-06-05 Thread Alan Jenkins
On 28/05/2019 16:12, David Howells wrote: Allow mount information, including information about the topology tree to be queried with the fsinfo() system call. Usage of AT_FSINFO_MOUNTID_PATH allows overlapping mounts to be queried. To this end, four fsinfo() attributes are provided: (1)

Re: [PATCH 09/25] vfs: Allow mount information to be queried by fsinfo() [ver #13]

2019-06-01 Thread Joel Fernandes
On Tue, May 28, 2019 at 04:12:15PM +0100, David Howells wrote: [snip] > + > +/* > + * Store a mount record into the fsinfo buffer. > + */ > +static void store_mount_fsinfo(struct fsinfo_kparams *params, > +struct fsinfo_mount_child *child) > +{ > + unsigned int