Changeset fe61181 in mainline for uspace/srv/fs/ext4fs/ext4fs_ops.c


Ignore:
Timestamp:
2012-07-21T08:19:33Z (12 years ago)
Author:
Frantisek Princ <frantisek.princ@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0b293a6
Parents:
34bc2fe
Message:

Debug messages removed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/ext4fs/ext4fs_ops.c

    r34bc2fe rfe61181  
    553553        }
    554554
    555         /* Handle orphans */
    556         // TODO this code should be deleted
    557 //      ext4_filesystem_t *fs = enode->instance->filesystem;
    558 //      uint32_t rev_level = ext4_superblock_get_rev_level(fs->superblock);
    559 //      uint16_t lnk_count = ext4_inode_get_links_count(inode_ref->inode);
    560 //      if ((rev_level > 0) && (lnk_count == 0)) {
    561 //              rc = ext4_filesystem_delete_orphan(inode_ref);
    562 //              if (rc != EOK) {
    563 //                      EXT4FS_DBG("delete orphan error, rc = \%d", rc);
    564 //              }
    565 //      }
    566 
    567555        // TODO set real deletion time when it will be supported, temporary set fake time
    568556//      time_t now = time(NULL);
     
    704692                parent->dirty = true;
    705693        }
    706 
    707 //      ext4_filesystem_t *fs = EXT4FS_NODE(pfn)->instance->filesystem;
    708 //      uint32_t rev_level = ext4_superblock_get_rev_level(fs->superblock);
    709 //      if ((rev_level > 0) && (lnk_count == 0)) {
    710 //              rc = ext4_filesystem_add_orphan(child_inode_ref);
    711 //              if (rc != EOK) {
    712 //                      EXT4FS_DBG("add orphan error, rc = \%d", rc);
    713 //              }
    714 //      }
    715694
    716695        // TODO set timestamps for parent (when we have wall-clock time)
Note: See TracChangeset for help on using the changeset viewer.