]> code.delx.au - refind/blobdiff - filesystems/fsw_reiserfs.c
Version 0.7.0 release with misc. filesystem driver improvements.
[refind] / filesystems / fsw_reiserfs.c
index f6cb4dbf5c047b84729aa1c41ca1c467f09523d0..05e8163b1f8c83cbbb9c19dfb6a248ae7ca98d9b 100644 (file)
@@ -751,7 +751,6 @@ static fsw_status_t fsw_reiserfs_item_next(struct fsw_reiserfs_volume *vol,
 {
     fsw_status_t    status;
     fsw_u32         dir_id, objectid;
-    fsw_u64         offset;
     fsw_u32         tree_bno, next_tree_bno, tree_level, nr_item, nr_ptr_item;
     fsw_u8          *buffer;
     struct block_head *bhead;
@@ -763,9 +762,8 @@ static fsw_status_t fsw_reiserfs_item_next(struct fsw_reiserfs_volume *vol,
     
     dir_id = item->ih.ih_key.k_dir_id;
     objectid = item->ih.ih_key.k_objectid;
-    offset = item->item_offset;
     
-    FSW_MSG_DEBUG((FSW_MSGSTR("fsw_reiserfs_item_next: next for %d/%d/%lld\n"), dir_id, objectid, offset));
+    FSW_MSG_DEBUG((FSW_MSGSTR("fsw_reiserfs_item_next: next for %d/%d/%lld\n"), dir_id, objectid, item->item_offset));
     
     // find a node that has more items, moving up until we find one