git: 71fceff24809 - stable/13 - vfs_domount_update(): correct fsidcmp() usage
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 29 Dec 2023 00:36:12 UTC
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;
}