On Mon, 23 Oct 2023 17:30:49 +0300, Amir Goldstein wrote: > There are many "simple" filesystems (*) that report null f_fsid in > statfs(2). Those "simple" filesystems report sb->s_dev as the st_dev > field of the stat syscalls for all inodes of the filesystem (**). > > In order to enable fanotify reporting of events with fsid on those > "simple" filesystems, report the sb->s_dev number in f_fsid field of > statfs(2). > > [...] Applied to the vfs.f_fsid branch of the vfs/vfs.git tree. Patches in the vfs.f_fsid branch should appear in linux-next soon. Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it. It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated. Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch. tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git branch: vfs.f_fsid [1/1] fs: report f_fsid from s_dev for "simple" filesystems https://git.kernel.org/vfs/vfs/c/14673976a658