diff options
author | Amir Goldstein <amir73il@gmail.com> | 2023-10-24 09:55:35 +0200 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2023-11-06 01:51:26 +0100 |
commit | d6fc6c93636ffefd3d209d90a749e4e4ea51d6c1 (patch) | |
tree | 48c6123f3d23fe9fe88c0c79e9d2fcb8de661d57 /fs/gfs2/inode.c | |
parent | gfs2: No longer use 'extern' in function declarations (diff) | |
download | linux-d6fc6c93636ffefd3d209d90a749e4e4ea51d6c1.tar.xz linux-d6fc6c93636ffefd3d209d90a749e4e4ea51d6c1.zip |
gfs2: fs: derive f_fsid from s_uuid
gfs2 already has optional persistent uuid.
Use that uuid to report f_fsid in statfs(2), same as ext2/ext4/zonefs.
This allows gfs2 to be monitored by fanotify filesystem watch.
for example, with inotify-tools 4.23.8.0, the following command can be
used to watch changes over entire filesystem:
fsnotifywatch --filesystem /mnt/gfs2
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/inode.c')
0 files changed, 0 insertions, 0 deletions