From: Ryusuke Konishi Date: Sun, 5 Apr 2009 09:24:11 +0000 (+0900) Subject: nilfs2: segment usage file cleanups X-Git-Tag: v2.6.30-rc2~5^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a703018f7bbec8109419318f5d51f235fdce5155;p=pandora-kernel.git nilfs2: segment usage file cleanups This will simplify sufile.c by sharing common code which repeatedly appears in routines updating a segment usage entry; a wrapper function nilfs_sufile_update() is introduced for the purpose, and counter modifications are integrated to a new function nilfs_sufile_mod_counter(). This is a preparation for the successive bugfix patch ("nilfs2: fix possible mismatch of sufile counters on recovery"). Signed-off-by: Ryusuke Konishi --- Reading git-diff-tree failed