OSDN Git Service

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)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 11 Aug 2010 04:24:18 +0000 (00:24 -0400)
commit6d0b5456e14ec19edae7c18de4d355c58b133bd6
tree8bcb32b9122bd282844a6650e8e4059d8311ab41
parent496ee9b8f349a8ae2065114c414a47e89bdeb930
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]
[AV: parser.h inclusion was a rudiment of discarded stuff]
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: Al Viro <viro@zeniv.linux.org.uk>
fs/sysv/super.c