Skip to content

Commit ec7a101

Browse files
committed
linux: page_cache.InodePages plugin: Remove unnecesary casting
1 parent bf76aad commit ec7a101

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

volatility3/framework/plugins/linux/pagecache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ def _generate_inode_fields(
511511
page_vaddr = page_obj.vol.offset
512512
page_paddr = page_obj.to_paddr()
513513
page_mapping_addr = page_obj.mapping
514-
page_index = int(page_obj.index)
514+
page_index = page_obj.index
515515
page_file_offset = page_index * vmlinux_layer.page_size
516516
dump_safe = (
517517
page_file_offset < inode_size

0 commit comments

Comments
 (0)