mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
makefs: Make target filesystem inodes 64 bits
Obtained from: NetBSD 2501d4dfda92, 7022656d8ab2
This commit is contained in:
1 parent
742e58ddc9
commit
884b961c74
2 files changed
+3
-3
No files matched your search
@@ -916,8 +916,8 @@ ffs_populate_dir(const char *dir, fsnode *root, fsinfo_t *fsopts)
|
||||
root, fsopts);
|
||||
|
||||
if (debug & DEBUG_FS_POPULATE_NODE) {
|
||||
printf("ffs_populate_dir: writing ino %d, %s",
|
||||
cur->inode->ino, inode_type(cur->type));
|
||||
printf("ffs_populate_dir: writing ino %lld, %s",
|
||||
(long long)cur->inode->ino, inode_type(cur->type));
|
||||
if (cur->inode->nlink > 1)
|
||||
printf(", nlink %d", cur->inode->nlink);
|
||||
putchar('\n');
|
||||
|
||||
@@ -86,7 +86,7 @@ enum fi_flags {
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
uint32_t ino; /* inode number used on target fs */
|
||||
uint64_t ino; /* inode number used on target fs */
|
||||
uint32_t nlink; /* number of links to this entry */
|
||||
enum fi_flags flags; /* flags used by fs specific code */
|
||||
void *param; /* for use by individual fs impls */
|
||||
|
||||
Reference in new issue
Block a user