• Evgeniy Dushistov's avatar
    [PATCH] ufs: restore back support of openstep · f336953b
    Evgeniy Dushistov authored
    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: default avatarEvgeniy Dushistov <dushistov@mail.ru>
    Cc: <stable@kernel.org>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    f336953b
super.c 40.5 KB