From: Ryusuke Konishi Date: Mon, 28 Feb 2011 04:41:11 +0000 (+0900) Subject: nilfs2: fix regression that i-flag is not set on changeless checkpoints X-Git-Tag: v2.6.37.3~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=401f84f1dbc7b01163bd61328acf7e66ce0fbd3e;p=pandora-kernel.git nilfs2: fix regression that i-flag is not set on changeless checkpoints commit 72746ac643928f6c3113b5aa783d8ea1b13949d2 upstream. According to the report from Jiro SEKIBA titled "regression in 2.6.37?" (Message-Id: <8739n8vs1f.wl%jir@sekiba.com>), on 2.6.37 and later kernels, lscp command no longer displays "i" flag on checkpoints that snapshot operations or garbage collection created. This is a regression of nilfs2 checkpointing function, and it's critical since it broke behavior of a part of nilfs2 applications. For instance, snapshot manager of TimeBrowse gets to create meaningless snapshots continuously; snapshot creation triggers another checkpoint, but applications cannot distinguish whether the new checkpoint contains meaningful changes or not without the i-flag. This patch fixes the regression and brings that application behavior back to normal. Reported-by: Jiro SEKIBA Signed-off-by: Ryusuke Konishi Tested-by: Ryusuke Konishi Tested-by: Jiro SEKIBA Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed