[SLOF] [PATCH slof 07/10] ext2: Read all 64bit of inode number
Alexey Kardashevskiy
aik at ozlabs.ru
Tue Dec 31 14:04:54 AEDT 2019
Signed-off-by: Alexey Kardashevskiy <aik at ozlabs.ru>
---
slof/fs/packages/ext2-files.fs | 3 +++
1 file changed, 3 insertions(+)
diff --git a/slof/fs/packages/ext2-files.fs b/slof/fs/packages/ext2-files.fs
index 7245d9375cf5..75cd01e23705 100644
--- a/slof/fs/packages/ext2-files.fs
+++ b/slof/fs/packages/ext2-files.fs
@@ -93,7 +93,10 @@ INSTANCE VARIABLE #blocks-left
: read-inode ( inode# -- )
1- inodes/group @ u/mod
desc-size @ * group-descriptors @ +
+ dup
8 + l at -le \ reads bg_inode_table_lo
+ swap 28 + l at -le \ reads bg_inode_table_hi
+ 32 lshift or
block-size @ * \ # in group, inode table
swap inode-size @ * + xlsplit seek drop inode @ inode-size @ read drop
;
--
2.17.1
More information about the SLOF
mailing list