mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
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 <[email protected]>
MFC after: 1 week
(cherry picked from commit e18fbe6f19)
This commit is contained in:
1 parent
cef881a6e8
commit
d3aca6fe9b
1 file changed
+2
-2
@@ -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;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user