Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Dec 2023 00:36:12 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 71fceff24809 - stable/13 - vfs_domount_update(): correct fsidcmp() usage
Message-ID:  <202312290036.3BT0aCnv010080@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=71fceff2480999b3fc921f47ec9adea9eff32041

commit 71fceff2480999b3fc921f47ec9adea9eff32041
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:35:45 +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 cefadf75a3a8..8ad5b34c729d 100644
--- a/sys/kern/vfs_mount.c
+++ b/sys/kern/vfs_mount.c
@@ -1230,7 +1230,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;
 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202312290036.3BT0aCnv010080>