]> git.hungrycats.org Git - linux/commit
[PATCH] reiserfs: fix savelinks on bigendian arches
authorAndrew Morton <akpm@osdl.org>
Thu, 7 Aug 2003 04:13:11 +0000 (21:13 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Thu, 7 Aug 2003 04:13:11 +0000 (21:13 -0700)
commit3491b2bc0264c36428480c23e6a824fc7d6b141f
treea9f80456894b329f280f0e61cd93a0a088a04f6c
parent9b111f7660918cf94cd1129a0723d8d478b5b068
[PATCH] reiserfs: fix savelinks on bigendian arches

From: Oleg Drokin <green@namesys.com>

This small patch fixes a savelinks problem on bigendian platforms, where
savelinks were not working at all because of incorrect cpu->disk endianness
conversion.

Savelinks are used on reiserfs to remember "truncate" and "unlink" events
so that if crash happens in the middle of truncate/unlink, we do not endup
with lost or half truncated files.
fs/reiserfs/super.c