fs/sysv/super.c: add support for non-PDP11 v7 filesystems
authorLubomir Rintel <lkundrak@v3.sk>
Wed, 11 Aug 2010 01:03:34 +0000 (18:03 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Aug 2010 15:59:23 +0000 (08:59 -0700)
commitab654bab04be435a9671e0dcf49c18f9782dd838
tree0e6badaeb18eebeaeff1b8d8bc9049dde7e85ee6
parent0bcaa65a56ab74003666cf741b0bfa1e9263a11c
fs/sysv/super.c: add support for non-PDP11 v7 filesystems

This adds byte order autodetection (of PDP-11 and LE filesystems).  No
attempt is made to detect big-endian filesystems -- were there any?
Tested with PDP-11 v7 filesystems and PC-IX maintenance floppy.

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Al Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/sysv/super.c