summaryrefslogtreecommitdiffstats
path: root/fs/ubifs
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2024-03-11 11:02:06 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2024-03-11 11:02:06 -0700
commit0f1a876682f0979d6a1e5f86861dd562d1758936 (patch)
tree8f366cddf7bf5544d0af8266e99ff1718f977a28 /fs/ubifs
parent910202f00a435c56cf000bc6d45ecaabac4dd598 (diff)
parent01edea1bbd1768be41729fd018a82556fa1810ec (diff)
downloadlinux-0f1a876682f0979d6a1e5f86861dd562d1758936.tar.gz
linux-0f1a876682f0979d6a1e5f86861dd562d1758936.tar.bz2
linux-0f1a876682f0979d6a1e5f86861dd562d1758936.zip
Merge tag 'vfs-6.9.uuid' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
Pull vfs uuid updates from Christian Brauner: "This adds two new ioctl()s for getting the filesystem uuid and retrieving the sysfs path based on the path of a mounted filesystem. Getting the filesystem uuid has been implemented in filesystem specific code for a while it's now lifted as a generic ioctl" * tag 'vfs-6.9.uuid' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs: xfs: add support for FS_IOC_GETFSSYSFSPATH fs: add FS_IOC_GETFSSYSFSPATH fat: Hook up sb->s_uuid fs: FS_IOC_GETUUID ovl: convert to super_set_uuid() fs: super_set_uuid()
Diffstat (limited to 'fs/ubifs')
-rw-r--r--fs/ubifs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c
index 304646b03e99..d2881041b393 100644
--- a/fs/ubifs/super.c
+++ b/fs/ubifs/super.c
@@ -2246,7 +2246,7 @@ static int ubifs_fill_super(struct super_block *sb, void *data, int silent)
goto out_umount;
}
- import_uuid(&sb->s_uuid, c->uuid);
+ super_set_uuid(sb, c->uuid, sizeof(c->uuid));
mutex_unlock(&c->umount_mutex);
return 0;