From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.openvz.org (mail.openvz.org [69.168.225.77]) by lore.virtuozzo.com (Postfix) with ESMTPS id 32EDB80031 for ; Thu, 19 Nov 2026 12:04:57 +0000 (UTC) Received: from mail.openvz.org (localhost [127.0.0.1]) by mail.openvz.org (8.14.4/8.14.4) with ESMTP id 6AJC3gsq023655; Thu, 19 Nov 2026 15:03:43 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.openvz.org 6AJC3gsq023655 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=openvz.org; s=default; t=1795089824; bh=LYsH4PdxQgxRMfg6+W/UHimsEf7JJ3JVUL+sl4lAs8k=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe; b=lJirc4ZUmWqJed1ZWzkCQOJtfRMOD6hfwy0eA6XE1vM1zzPwWbQufe9D3hp+76gAt ++azBjQttgFlGeqH4QtxzG6BSAkI1aq2F3e735mUy0vZCOVgd11Cr9Rh3amoBWn8jV tCxkfbLi2nPLVkmkj26INzv78N2v0FTWf5YhgiMwgS8p6gjxhoDXrz9ScFAtm3tYpr g8Mgvc9Q8s6Cw+bs66FlNysHuFindH2847IRKNPwCMvFjenCCLyIOauhhbd9jVaKC5 wKjEj4p8azkR9kxSjuVVrU0cq9KA0xM+dE821G/5ht2KRDTjDINVvXHggoEgK5Lreq bxZDpZtcUdpZw== Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) by mail.openvz.org (8.14.4/8.14.4) with ESMTP id 6AJC3YqY023595 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=FAIL) for ; Thu, 19 Nov 2026 15:03:34 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.openvz.org 6AJC3YqY023595 Authentication-Results: mail.openvz.org; dkim=pass (2048-bit key) header.d=openvz.org header.i=@openvz.org header.b="dgvvcHyR" Received: by mail-ej1-f71.google.com with SMTP id a640c23a62f3a-c50657eaef0so133511166b.3 for ; Thu, 19 Nov 2026 04:03:34 -0800 (PST) X-Forwarded-Encrypted: i=2; AL+hErGWyCkp+GYnzadzkLpY0cIJ6Cpb4rEMDeGdMLB3L01cXD4DufHoj9rwsZh06yx2ABFYwg8tTg==@openvz.org X-Gm-Message-State: APuU4Z+aH/Buy/6Fg1JuxBfXI/8JlFXeMDwa+tlvxVso8A9dwZYJ6Fbm 6EnP8HS6LJlVSk19PHX5wnIHcfoskP7Rq6ZQQhqiU+ZIslmO60O+XeAhhoDa+oJOY6NeAtUz3T2 rC5HFMmwYUj6VlLndvHcIIizw+JWl+PzQFXAeQTafzMKHMNbsxmYBWQ== X-Gm-Gg: AYBFou2If4xzUc602+UlH/C9W4VgtOcl/uJ6l+8d+ds3OrK3+F0xkBQboahWPlceCsU tc5j1j1LawZEdZdpq3jzeD+CTAtIuyKDU0F/YbQoeLJ/QXCHc1yNvHCm4DT3nryR9EkD7cYQkpa 7vWtPdDLv/zC8NB30cnLyGe+86+E9X5blcg1SblA8oLcuUtOyVMiHrDtyXLgKbJ7aIgZKyGwkVU HsORWpKOE0gGhcOCxydDB54dIEC3Ta4UjpkKusaKHg2f+1SXwFjbi6USYfyQD7JWpaV4UqHFEtn Ej5Fhgyj0g== X-Received: by 2002:a17:907:7f94:b0:c41:4d5:e97c with SMTP id a640c23a62f3a-c510e361646mr507319266b.37.1795089814151; Thu, 19 Nov 2026 04:03:34 -0800 (PST) X-Received: by 2002:a17:907:7f94:b0:c41:4d5:e97c with SMTP id a640c23a62f3a-c510e361646mr507313166b.37.1795089813476; Thu, 19 Nov 2026 04:03:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1795089813; cv=none; d=google.com; s=arc-20260327; b=RKwjpk2NgLJpBfDMSQPXaZV486xH9TECsjgGCSNcvCrQELbkzLCANnvQdH29a7sgsp 99R7aZm4Tam3XvW1Gx0dxcIzC4k29WkM8TtLBnvGGowIX6DTEbRjiPesFqsgXvVOFF12 /vxL1NVxaT5l28Y+6ZXep9/naSBjcIhLGnCT4OxNG6wUHuGMhFAzXipfjyNHfzG2wKHD REnq8161IdCRWFk5U//bcBLGQ9lSDhmv3WkB8d/vMh2xdrC2n0mH8LwIM9x9yWfSrypT Dm4jM0HuIUXyIU2kNS3a3jKK4FcVs9OHtd8rOowlz34hdGJ1JYNcvQToPwMyRVDbFS3A kQ7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=Q442RMA9zvMf3Dw9GgahhOPRCh7hwyqWyHcm4B9oeRM=; fh=+E/kl2F0K27XL+POOzf5vG3KFx4SxAUXIf7H7dftCSY=; b=c1txW8pwIu3/Zr7TLcPMY0VdH5A4uzJ/YI3UuhiTyutihY1m3yiPIGtgdinyo1JIHp d7+6VvQS+Tnh3Hq2K8CI+YXlEe4WQE4UOAYF2WNB/TVh/5Q1RKyJZPlxKTTwp1I9LYrp b1iuqmYXa94cof2XEOPZY8o0AQKEehPSegrk4zd2kwV1uqJgYWACkgEAbfsRQ5ZXR4yz zxpeV8CgGvSN7bBuXOt7dk+Ffh7HmJkuAHyq1v8Nkw5mZyQ3VjXuts882NKgqz2Fsn28 qh3u0NlDcnEM4BMWw++RcIvwNu20M6f83Wurk9G6tZ5NQjVZs22lJpOBq3F1uc45gutH 9jjg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@openvz.org header.s=google header.b=dgvvcHyR; spf=softfail (google.com: domain of transitioning den@openvz.org does not designate 2a06:5b06:b600:300:989f:a206:d03d:c3d5 as permitted sender) smtp.mailfrom=den@openvz.org; dara=neutral header.i=@openvz.org Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id ffacd0b85a97d-4a65769c922sor942934f8f.4.2026.11.19.04.03.33 for (Google Transport Security); Thu, 19 Nov 2026 04:03:33 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning den@openvz.org does not designate 2a06:5b06:b600:300:989f:a206:d03d:c3d5 as permitted sender) client-ip=2a06:5b06:b600:300:989f:a206:d03d:c3d5; Authentication-Results: mx.google.com; dkim=pass header.i=@openvz.org header.s=google header.b=dgvvcHyR; spf=softfail (google.com: domain of transitioning den@openvz.org does not designate 2a06:5b06:b600:300:989f:a206:d03d:c3d5 as permitted sender) smtp.mailfrom=den@openvz.org; dara=neutral header.i=@openvz.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=openvz.org; s=google; t=1795089813; x=1795694613; darn=openvz.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=Q442RMA9zvMf3Dw9GgahhOPRCh7hwyqWyHcm4B9oeRM=; b=dgvvcHyR6iFv/TWyWRYwozHluX3osmurrM3R2SI2OCahlYChBQd4ASq1rMdPahGl/K Kl9AVYoo8GYgRJEwCDT/10t5IUSyryrPM6HagqL9E8mjq7di1rWS3vuGF81w1haVEvtH oaxbnLYmOiWfCArO4m9lQ6tvHkO6nk8NO57+49+ISjgNlmEbKF/k5+/hflO7DbfCIYsz ycjFs8+0+mVi/+5xUUAyKabLwHu02ApJ8Yex4KS/uFcqQ4WfRkRT0/jZwnP4P+OFrm9b h5PEy9cHbDA+5nYF8Mr4XpMmabVuzWTH7hLHQM94suA++a9i+Cbz2vyt7F4J9et/xvhZ mL1Q== X-Forwarded-Encrypted: i=1; AL+hErHQ3Wcal/UoxK0d2HnauNASkdSMyR1VPnQ0bkV0fNEqsDXoQ6HZZYO2h4kCs6ptt7xObFBUEA==@openvz.org X-Received: by 2002:a05:600c:1d2a:b0:4a2:d99:3171 with SMTP id 5b1f17b1804b1-4bb7da34cc8mr140515035e9.23.1795089812963; Thu, 19 Nov 2026 04:03:32 -0800 (PST) Received: from artemis.sw.ru ([2a06:5b06:b600:300:989f:a206:d03d:c3d5]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4a65541f3f7sm11036112f8f.24.2026.11.19.04.03.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 04:03:32 -0800 (PST) From: "Denis V. Lunev" To: ptikhomirov@virtuozzo.com, vasileios.almpanis@virtuozzo.com Date: Thu, 19 Nov 2026 13:03:21 +0100 Message-ID: <20261119120325.792064-5-den@openvz.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20261119120325.792064-1-den@openvz.org> References: <20261119120325.792064-1-den@openvz.org> MIME-Version: 1.0 X-OZ-Fwd: true Cc: devel@openvz.org Subject: [Devel] [PATCH hci-8.2 4/8] ms/ext4: fix incorrect function call when initializing s_resgid X-BeenThere: devel@openvz.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: OpenVZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: devel-bounces@openvz.org Errors-To: devel-bounces@openvz.org From: Jiazi Liu In __ext4_fill_super(), s_resgid is initialized by calling ext4_get_resuid() instead of ext4_get_resgid(), resulting in the reserved GID being set to the same value as the reserved UID rather than the value stored in the superblock. Fixes: 12c84dd4d308 ("ext4: add support for 32-bit default reserved uid and gid values") Cc: stable@vger.kernel.org Signed-off-by: Jiazi Liu Reviewed-by: Ritesh Harjani (IBM) Link: https://patch.msgid.link/20260727104103.28916-1-liujiazi@amazon.com Signed-off-by: Theodore Ts'o (cherry picked from commit c87abbab6147dcc5aa1fd8f2a61734d58d8b99ec) https://virtuozzo.atlassian.net/browse/VSTOR-155988 Feature: fix ms/ext4 Signed-off-by: Denis V. Lunev --- fs/ext4/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ext4/super.c b/fs/ext4/super.c index a6581dee49ed..e930db91876b 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -5367,7 +5367,7 @@ static int __ext4_fill_super(struct fs_context *fc, struct super_block *sb) ext4_set_def_opts(sb, es); sbi->s_resuid = make_kuid(&init_user_ns, ext4_get_resuid(es)); - sbi->s_resgid = make_kgid(&init_user_ns, ext4_get_resuid(es)); + sbi->s_resgid = make_kgid(&init_user_ns, ext4_get_resgid(es)); sbi->s_commit_interval = JBD2_DEFAULT_MAX_COMMIT_AGE * HZ; sbi->s_min_batch_time = EXT4_DEF_MIN_BATCH_TIME; sbi->s_max_batch_time = EXT4_DEF_MAX_BATCH_TIME; -- 2.55.0 _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel