git: 2a1d50fc12f6 - main - vfs_domount_update(): correct fsidcmp() usage
Date: Tue, 26 Dec 2023 01:36:24 UTC
The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=2a1d50fc12f6e604da834fbaea961d412aae6e85 commit 2a1d50fc12f6e604da834fbaea961d412aae6e85 Author: Andrew Gierth <andrew@tao146.riddles.org.uk> AuthorDate: 2023-12-24 12:04:21 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2023-12-26 01:35:46 +0000 vfs_domount_update(): correct fsidcmp() usage MFC after: 3 days --- sys/kern/vfs_mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c index 8e54c832e9f1..331e4887c200 100644 --- a/sys/kern/vfs_mount.c +++ b/sys/kern/vfs_mount.c @@ -1388,7 +1388,7 @@ vfs_domount_update( error = EINVAL; goto end; } - if (fsidcmp(&fsid_up, &mp->mnt_stat.f_fsid) != 0) { + if (fsidcmp(fsid_up, &mp->mnt_stat.f_fsid) != 0) { error = ENOENT; goto end; }