[PATCH 1/6] nilfs2: add blocksize member to nilfs object

2010-05-24 Thread Ryusuke Konishi
This stores blocksize in nilfs objects for the successive refactoring of recovery logic. Signed-off-by: Ryusuke Konishi konishi.ryus...@lab.ntt.co.jp --- fs/nilfs2/the_nilfs.c |1 + fs/nilfs2/the_nilfs.h |2 ++ 2 files changed, 3 insertions(+), 0 deletions(-) diff --git

[PATCH 2/6] nilfs2: refactor recovery logic routines

2010-05-24 Thread Ryusuke Konishi
Most functions in recovery code take an argument of a super block instance or a nilfs_sb_info struct for convenience sake. This replaces them aggressively with a nilfs object by applying __bread and __breadahead against routines using sb_bread and sb_breadahead. Signed-off-by: Ryusuke Konishi

[PATCH 6/6] nilfs2: get rid of macros for segment summary information

2010-05-24 Thread Ryusuke Konishi
This removes macros to test segment summary flags and redefines a few relevant macros with inline functions. Signed-off-by: Ryusuke Konishi konishi.ryus...@lab.ntt.co.jp --- fs/nilfs2/segbuf.h | 24 +--- fs/nilfs2/segment.c |8 2 files changed, 17