Apply the same change as the commit d04aea7db2281d2f22d1c943dc5791931db8c474 "lscp: always show snapshots, even if marked minor" for reverse mode. Cc: Dan McGee <dan@xxxxxxxxxxxxx> Signed-off-by: Ryusuke Konishi <konishi.ryusuke@xxxxxxxxxxxxx> --- bin/lscp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/lscp.c b/bin/lscp.c index a7bf555..c855def 100644 --- a/bin/lscp.c +++ b/bin/lscp.c @@ -198,7 +198,8 @@ static int lscp_backward_cpinfo(struct nilfs *nilfs, for (cpi = cpinfos + n - 1; cpi >= cpinfos && rest > 0; cpi--) { if (cpi->ci_cno < eidx && - (show_all || !nilfs_cpinfo_minor(cpi))) { + (show_all || nilfs_cpinfo_snapshot(cpi) || + !nilfs_cpinfo_minor(cpi))) { lscp_print_cpinfo(cpi); rest--; } -- 1.7.9.4 -- To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html