]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] ufs: restore back support of openstep
authorEvgeniy Dushistov <dushistov@mail.ru>
Thu, 8 Feb 2007 22:20:25 +0000 (14:20 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 9 Feb 2007 17:25:46 +0000 (09:25 -0800)
commit8e467749cadb5275b18e597ff57928412da72f39
tree03c86a0c0ce782edb4cf077fddea08f29dbdae84
parent7a22aae0e00d6670057617163e851e14168a4de3
[PATCH] ufs: restore back support of openstep

This is a fix of regression, which triggered by ~2.6.16.

Patch with name ufs-directory-and-page-cache-from-blocks-to-pages.patch: in
additional to conversation from block to page cache mechanism added new
checks of directory integrity, one of them that directory entry do not
across directory chunks.

But some kinds of UFS: OpenStep UFS and Apple UFS (looks like these are the
same filesystems) have different directory chunk size, then common
UFSes(BSD and Solaris UFS).

So this patch adds ability to works with variable size of directory chunks,
and set it for ufstype=openstep to right size.

Tested on darwin ufs.

Signed-off-by: Evgeniy Dushistov <dushistov@mail.ru>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ufs/dir.c
fs/ufs/super.c
include/linux/ufs_fs.h