diff options
author | Amir Goldstein <amir73il@gmail.com> | 2023-10-24 15:14:57 +0300 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-10-28 16:16:19 +0200 |
commit | ceb33880431c8284b58de5602b15dfb7ac0a4aa5 (patch) | |
tree | 3d857fe0fdc1a21d9d508a9fde5b283cad76f621 /fs/exportfs | |
parent | ae62bcb5e7e5a1ab6f85518949f3f759c6e9a8e0 (diff) |
freevxfs: derive f_fsid from bdev->bd_dev
The majority of blockdev filesystems, which do not have a UUID in their
on-disk format, derive f_fsid of statfs(2) from bdev->bd_dev.
Use the same practice for freevxfs.
This will allow reporting fanotify events with fanotify_event_info_fid.
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Link: https://lore.kernel.org/r/20231024121457.3014063-1-amir73il@gmail.com
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/exportfs')
0 files changed, 0 insertions, 0 deletions