On Tue, 10 May 2022 at 17:30, Christian Brauner [off-list ref] wrote:
But now we're in the process of extending the *xattr() calls to operate
on mounts and filesystems so an additional getfsattr() (or another name)
is not fragmentation imho. And I definitely don't think this would
qualify as "crazy".
In that spirit st_dev does not belong in struct stat, because that is
the property of the block device, not the inode.
But I feel we are going round in circles, lets please not get hung up
on this issue. Linus will have the final word on which variant (if
either) is going to go in.
Thanks,
Miklos