git: 2001d7f6a272 - stable/14 - vfs_domount_update(): correct fsidcmp() usage
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 29 Dec 2023 00:34:59 UTC
The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=2001d7f6a272cff780937b9bd9a4f625035fb92c commit 2001d7f6a272cff780937b9bd9a4f625035fb92c 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-29 00:34:07 +0000 vfs_domount_update(): correct fsidcmp() usage (cherry picked from commit 2a1d50fc12f6e604da834fbaea961d412aae6e85) --- 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 1ba3b1559a69..79a23b058add 100644 --- a/sys/kern/vfs_mount.c +++ b/sys/kern/vfs_mount.c @@ -1389,7 +1389,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; }