Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932992AbbFIIxj (ORCPT ); Tue, 9 Jun 2015 04:53:39 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47929 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932754AbbFIIxc (ORCPT ); Tue, 9 Jun 2015 04:53:32 -0400 Date: Tue, 9 Jun 2015 10:53:29 +0200 From: Karel Zak To: Ryusuke Konishi Cc: Heinz Diehl , linux-kernel@vger.kernel.org, linux-nilfs@vger.kernel.org Subject: Re: NILFS2: double uuid Message-ID: <20150609085329.GF1992@ws.net.home> References: <20150608094559.GB15702@fritha.org> <20150608100835.GA16569@fritha.org> <55756F17.7080603@lab.ntt.co.jp> <20150609.003127.1516615115859573912.konishi.ryusuke@lab.ntt.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150609.003127.1516615115859573912.konishi.ryusuke@lab.ntt.co.jp> User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 817 Lines: 21 On Tue, Jun 09, 2015 at 12:31:27AM +0900, Ryusuke Konishi wrote: > It looks like the backup super block should be dropped from candidates > if its device size (sbp->s_dev_size) doesn't match the partition size. Yeah, fixed: http://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=00817742ce360119e079a33e12cf84118ff7c63e Note that workaround is to not use nilfs2 on the last partition or have a tiny gap (1 sector is enough) between last partition and the end of the whole-disk. Karel -- Karel Zak http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/