diff options
author | Ivan Babrou <ivan@cloudflare.com> | 2023-07-31 21:47:31 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-08-05 09:32:39 +0300 |
commit | 0ce7c12e88cfa3e4cb0800e8172e5befea5c199a (patch) | |
tree | a9b2c34ddbd5f787977eacbf69830410c1ab9256 /drivers/hwmon | |
parent | 79038a99445f69c5d28494dd4f8c6f0509f65b2e (diff) | |
download | linux-0ce7c12e88cfa3e4cb0800e8172e5befea5c199a.tar.xz |
kernfs: attach uuid for every kernfs and report it in fsid
The following two commits added the same thing for tmpfs:
* commit 2b4db79618ad ("tmpfs: generate random sb->s_uuid")
* commit 59cda49ecf6c ("shmem: allow reporting fanotify events with file handles on tmpfs")
Having fsid allows using fanotify, which is especially handy for cgroups,
where one might be interested in knowing when they are created or removed.
Signed-off-by: Ivan Babrou <ivan@cloudflare.com>
Acked-by: Jan Kara <jack@suse.cz>
Acked-by: Christian Brauner <brauner@kernel.org>
Link: https://lore.kernel.org/r/20230731184731.64568-1-ivan@cloudflare.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions