remarkable-linux/fs/ufs
Evgeniy Dushistov ee3ffd6c12 [PATCH] ufs: make fsck -f happy
ufs super block contains some statistic about file systems, like amount of
directories, free blocks, inodes and so on.

UFS1 hold this information in one location and uses 32bit integers for such
information, UFS2 hold statistic in another location and uses 64bit integers.

There is transition variant, if UFS1 has type 44BSD and flags field in super
block has some special value this mean that we work with statistic like UFS2
does.  and this also means that nobody care about old(UFS1) statistic.

So if start fsck against such file system, after usage linux ufs driver, it
found error: at now only UFS1 like statistic is updated.

This patch should fix this.  Also it contains some minor cleanup: CodingSytle
and remove unused variables.

Signed-off-by: Evgeniy Dushistov <dushistov@mail.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-06-25 10:01:04 -07:00
..
balloc.c [PATCH] ufs: make fsck -f happy 2006-06-25 10:01:04 -07:00
cylinder.c [PATCH] ufs: easy debug 2006-06-25 10:01:03 -07:00
dir.c [PATCH] ufs: little directory lookup optimization 2006-06-25 10:01:03 -07:00
file.c [PATCH] ufs: fsync implementation 2006-06-25 10:01:04 -07:00
ialloc.c [PATCH] ufs: make fsck -f happy 2006-06-25 10:01:04 -07:00
inode.c [PATCH] ufs: missed brelse and wrong baseblk 2006-06-25 10:01:04 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
namei.c [PATCH] ufs: easy debug 2006-06-25 10:01:03 -07:00
super.c [PATCH] ufs: make fsck -f happy 2006-06-25 10:01:04 -07:00
swab.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
symlink.c [PATCH] Fix up symlink function pointers 2005-08-19 18:08:21 -07:00
truncate.c [PATCH] ufs: i_blocks wrong count 2006-06-25 10:01:03 -07:00
util.c [PATCH] ufs: easy debug 2006-06-25 10:01:03 -07:00
util.h [PATCH] ufs: make fsck -f happy 2006-06-25 10:01:04 -07:00