swab and ufs

Fare Rideau (rideau@ens.fr)
Sun, 6 Apr 1997 23:21:04 +0200 (MET DST)


Dear Linux Kernel Activists,
I've hacked together a cleanup version of the ufs fs driver.

0) it includes a neat clean-up of linux/include/*/byteorder.h
for all architectures (from 2.0.29 sources),
where all portable/common definitions are in <linux/byteorder.h>,
while swab__uXX macros are defined for use in various byteswapping drivers

1) it works on both 2.1 and 2.0 kernels
2) it replaces the old non-working driver from 2.0 with working 2.1 sources
3) it is a clean-up with respect to ufs sources
(the horrible bugprone global ufs_need_swab removed, many small things)
4) it removes a dangerous bug in 2.1 ufs driver where mounting
partitions of different bytesexes would result in mayhem.
5) I think ufs was not upgraded since the 2.1.20 sources I used;
if it was, please tell me.

Because it's essentially a clean-up,
this package *should not* have broken anything.
If it did, please tell me!
I tested it ok on a 1GB worth of data from a Sun on an PC.

There's the 16658 byte .tar.gz at my web page on the following URL:
http://www.eleves.ens.fr:8080/home/rideau/files/linux-swab-ufs.tgz

Please send feedback/comments by e-mail, as I've
BTW: how do I know if this patch will make it to official distribution?

== Fare' -- rideau@ens.fr -- Franc,ois-Rene' Rideau -- DDa(.ng-Vu~ Ba^n ==
Join the TUNES project for a computing system based on computing freedom !
TUNES is a Useful, Not Expedient System
URL: "http://www.eleves.ens.fr:8080/home/rideau/Tunes/"