Changes in tools/mkext2.py [cc1a727:86d0c263] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/mkext2.py

    rcc1a727 r86d0c263  
    507507                self.pos = align_up(self.pos, bytes)
    508508       
     509        def set_pos(self, pos):
     510                "Set the current position"
     511               
     512                self.pos = pos
     513       
    509514        def pack(self):
    510515                "Pack the inode structure and return the result"
     
    581586                        if self.inode:
    582587                                self.prev_entry.write(self.inode)
     588                                self.inode.set_pos(self.pos)
    583589       
    584590        def add(self, entry):
Note: See TracChangeset for help on using the changeset viewer.