Skip to content
  • Jeff Mahoney's avatar
    reiserfs: audit transaction ids to always be unsigned ints · 600ed416
    Jeff Mahoney authored
    
    
    This patch fixes up the reiserfs code such that transaction ids are
    always unsigned ints.  In places they can currently be signed ints or
    unsigned longs.
    
    The former just causes an annoying clm-2200 warning and may join a
    transaction when it should wait.
    
    The latter is just for correctness since the disk format uses a 32-bit
    transaction id.  There aren't any runtime problems that result from it
    not wrapping at the correct location since the value is truncated
    correctly even on big endian systems.  The 0 value might make it to
    disk, but the mount-time checks will bump it to 10 itself.
    
    Signed-off-by: default avatarJeff Mahoney <jeffm@suse.com>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    600ed416