git: e18fbe6f19ed - main - fuser: restore functionality by fixing fsid type

From: Andriy Gapon <avg_at_FreeBSD.org>
Date: Mon, 01 Nov 2021 06:54:26 UTC
The branch main has been updated by avg:

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

commit e18fbe6f19ed106f035c7d2aaeade6eb55cc0b5a
Author:     Andriy Gapon <avg@FreeBSD.org>
AuthorDate: 2021-11-01 06:40:17 +0000
Commit:     Andriy Gapon <avg@FreeBSD.org>
CommitDate: 2021-11-01 06:45:26 +0000

    fuser: restore functionality by fixing fsid type
    
    Use types from sys/stat.h for the filesystem and inode numbers for extra
    safety.
    
    PR:             259504
    Reported by:    Markus Wild <freebsd-bugs@virtualtec.ch>
    MFC after:      1 week
---
 usr.bin/fstat/fuser.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/usr.bin/fstat/fuser.c b/usr.bin/fstat/fuser.c
index b4225328fc1f..ad4aebf4a2cb 100644
--- a/usr.bin/fstat/fuser.c
+++ b/usr.bin/fstat/fuser.c
@@ -92,8 +92,8 @@ struct consumer {
 	STAILQ_ENTRY(consumer)	next;
 };
 struct reqfile {
-	uint32_t	fsid;
-	uint64_t	fileid;
+	dev_t		fsid;
+	ino_t		fileid;
 	const char	*name;
 	STAILQ_HEAD(, consumer) consumers;
 };