Changeset 2953


Ignore:
Timestamp:
Apr 25, 2012, 6:53:43 AM (2 years ago)
Author:
quozl
Message:

ext2fs - interpret a zero physical block in the block list of an inode as meaning the block does not exist, OLPC trac #11812

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ofw/fs/ext2fs/layout.fth

    r2816 r2953  
    7272      exit                    ( -- false ) 
    7373   then                       ( adr ) 
    74    int@ u>d  true             ( d.physical-block# true ) 
     74   int@ dup 0<>  if           ( u.physical-block# ) 
     75      u>d true                ( -- d.physical-block# true ) 
     76   then                       ( -- false ) \ there is no physical block 
    7577; 
    7678 
Note: See TracChangeset for help on using the changeset viewer.