• J
    ocfs2: De-magic the in-memory slot map. · fc881fa0
    Joel Becker 提交于
    The in-memory slot map uses the same magic as the on-disk one.  There is
    a special value to mark a slot as invalid.  It relies on the size of
    certain types and so on.
    
    Write a new in-memory map that keeps validity as a separate field.  Outside
    of the I/O functions, OCFS2_INVALID_SLOT now means what it is supposed to.
    It also is no longer tied to the type size.
    
    This also means that only the I/O functions refer to 16bit quantities.
    Signed-off-by: NJoel Becker <joel.becker@oracle.com>
    Signed-off-by: NMark Fasheh <mfasheh@suse.com>
    fc881fa0
journal.c 40.8 KB