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
This commit is contained in:
Andriy Gapon 2021-11-01 08:40:17 +02:00
parent 91feb4f420
commit e18fbe6f19

View file

@ -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;
};