Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp899587pxb; Tue, 1 Feb 2022 12:45:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJysnBMm/PX60i1gGtv6i/p6TCv8l5dtj+GTIhfHkx7DVUWjY7obSLJ9BPLuhD69J4PmMvpw X-Received: by 2002:a17:90b:38c3:: with SMTP id nn3mr3509198pjb.176.1643748315531; Tue, 01 Feb 2022 12:45:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643748315; cv=none; d=google.com; s=arc-20160816; b=NkOzdqLIHPBe1wbGb0BAEqSjbzvRBquf32muD3TVDYZlDA8I1wPn7ZQ0w6p9MHDP/c nS5K1QT30jjv0AcPTa5z+p6/dPkiQtyhQ2ZFKW1apir3vttA+siNYOENKfUT759ryoNt qy7GGTVvWWW9QX0gkW/E4rCk++iaC2ZFotCva/j6OpHE6IVNaz6fv68qJ7EZthnG7bKW 3jI0P198/4IcgUpzRPjPTC4KmTt7myH6fduv6gattLcioN+WFfqeTItEd/SPTH/2+7yq jgMc0z9+2jTtnUjsjA8+FqnMt1xarAZS2dwBUjodqol4L2b8pVQI+LilD+9rEM8PqH8q PWZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=jrihgEMu0wLxIomEZi/uYqOO2qeSieEW3S6Y3kwbfHg=; b=aWAtB6xheDMQ34J18UzxlQXQkXy5MSut0LSUJacHbUbmkg05Bc7O8o1zPQ+N1A6GPO 5+tBCN0bteVhnh4cATJ9cTsNZslFfL/Vd4nKfB9EEH5IpIuYEVIo4gk+eFShPiKZevOu unBx8D/gTPcyy5M91kMB9zh/UCtktMRlczvU1xx5LHh4JKTAXyg9XBK88JYOab5mpYvx 9xLTkHaJdlz8EUCwfUy0Dle+iQykBdmm1KBHFYx/mTI/ihtoMt1lz4ZFPFCBrnapKRG4 9zCQWgDhKNciDtyzO0mHYPrtj8Qd0uvtefFs8YgarZ612IF0iv8oIDwrykKPU68AYKoS BcmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=X1AC4+CU; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a9si16488536plp.386.2022.02.01.12.45.02; Tue, 01 Feb 2022 12:45:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=X1AC4+CU; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1380699AbiAaRHD (ORCPT + 99 others); Mon, 31 Jan 2022 12:07:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236802AbiAaRHC (ORCPT ); Mon, 31 Jan 2022 12:07:02 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F2D1C061714; Mon, 31 Jan 2022 09:07:02 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A750C60D29; Mon, 31 Jan 2022 17:07:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 03070C340E8; Mon, 31 Jan 2022 17:07:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643648821; bh=ZTKVQCc+94eGzJ1trmzZG4GCQ0nYIOn8VXLhmFckBOg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=X1AC4+CUtL2rGnRxTmWhbpT0Pm/zINOohwzh2/6MvO6O0iKSIMPpfT99BoqfZ/fvB A2+WW3W86HTmLMiThqR+6yOso2QYeV22ZKVD+IAaZ9LhUklY8O35witLlTapMuZf/G bi0+RRlgBbpt0fqPVWxa/XSe2r30qhLDJqjXaQ1m2qQEhFKNQvLBFlxAe/1j21VEIq 64e6Q0Tr4h1QiEPbWq7B4f0dkxChxLNQorHBfH43mEJ/qyLBoeT/luzhzk8GBTufkl Ql97zq0u+bTAn+3iUtWfII85XEw/3wRxI/k1qiChy+rrRQjAaq98Yblirq3ye0gbIQ xVQXv45LfbT7w== Date: Mon, 31 Jan 2022 09:07:00 -0800 From: "Darrick J. Wong" To: Lukas Czerner Cc: fstests@vger.kernel.org, linux-ext4@vger.kernel.org Subject: Re: [PATCH] common/rc: set maximum label length for ext4 Message-ID: <20220131170700.GA8288@magnolia> References: <20211123101119.5112-1-lczerner@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211123101119.5112-1-lczerner@redhat.com> Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Tue, Nov 23, 2021 at 11:11:19AM +0100, Lukas Czerner wrote: > Set maximum label length for ext4 in _label_get_max() to be able to test > online file system label set/get ioctls. > > Signed-off-by: Lukas Czerner > --- > common/rc | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/common/rc b/common/rc > index 8e351f17..50d6d0bd 100644 > --- a/common/rc > +++ b/common/rc > @@ -4545,6 +4545,9 @@ _label_get_max() > f2fs) > echo 255 > ;; > + ext2|ext3|ext4) > + echo 16 After reviewing the ext4 ondisk format, 16 is the correct value. Though I wonder, what actually prevents generic/492 from running on old kernels without GETLABEL support? Either way this patch is ok, so... Reviewed-by: Darrick J. Wong --D > + ;; > *) > _notrun "$FSTYP does not define maximum label length" > ;; > -- > 2.31.1 >