diff options
| author | Amir Goldstein <[email protected]> | 2021-03-22 17:39:43 +0000 |
|---|---|---|
| committer | Jan Kara <[email protected]> | 2021-04-19 14:03:15 +0000 |
| commit | 9591c3a34f7722bd77f42c98d76fd5a5bad465f0 (patch) | |
| tree | 44001867b11da3de1fa029e50ab636ea381c0c7a /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | |
| parent | fanotify_user: use upper_32_bits() to verify mask (diff) | |
| download | kernel-9591c3a34f7722bd77f42c98d76fd5a5bad465f0.tar.gz kernel-9591c3a34f7722bd77f42c98d76fd5a5bad465f0.zip | |
fs: introduce a wrapper uuid_to_fsid()
Some filesystem's use a digest of their uuid for f_fsid.
Create a simple wrapper for this open coded folding.
Filesystems that have a non null uuid but use the block device
number for f_fsid may also consider using this helper.
[JK: Added missing asm/byteorder.h include]
Link: https://lore.kernel.org/r/[email protected]
Acked-by: Damien Le Moal <[email protected]>
Reviewed-by: Christian Brauner <[email protected]>
Signed-off-by: Amir Goldstein <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c')
0 files changed, 0 insertions, 0 deletions
