From patchwork Thu May 21 11:12:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kleber Sacilotto de Souza X-Patchwork-Id: 1295128 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49SRm74kK6z9sSn; Thu, 21 May 2020 21:12:23 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1jbj7b-0005Bi-TU; Thu, 21 May 2020 11:12:19 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1jbj7Z-0005AL-M0 for kernel-team@lists.ubuntu.com; Thu, 21 May 2020 11:12:17 +0000 Received: from mail-ej1-f72.google.com ([209.85.218.72]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1jbj7Z-0002DO-CZ for kernel-team@lists.ubuntu.com; Thu, 21 May 2020 11:12:17 +0000 Received: by mail-ej1-f72.google.com with SMTP id o23so2660519ejx.21 for ; Thu, 21 May 2020 04:12:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=N0wSTsn1jq7z3G2FSu45frmHATxjzc114cpioRmdX+o=; b=C0Kxmbc2fAFRG5j+ZXYlh/A+84SEd6beSSIq6Qv/uN9b8DzJDFanJ+tQA/+TrYHWvv v0a5XcZ5doIXLvNQgphyX0frDFJiKaeCyJNLElZuWYZeMakZiZpav6Ij3PEtK5AJFmAL waEBHX6FGyXDpC6RCcdwcMY85MgOqS5ffkrbMdO/We5yXEjDLKULkXJJLwSzph3JbGtD nDJKqhxEmD/HziCKIILsE/OedgylVwiypMcsMsgBGP40saueBYzuVSw71w85yECeXjV7 ewilZNB+659xz9uwnLKqUDXtScBzGwy3nNae71zwWhQ8CbfjDwNyv8DU80nQhCdQ323p iJYQ== X-Gm-Message-State: AOAM531JaJ6HQZrSBjCDfNIGgrPe1MGKfeOi8PRosgqHFg0kMEiDi4PF z+JP6z2O6aD03dv3ytmO6Fkpcl1VK5RilOZl3UcBZ+GamfFE0NOzBOVcIM6ms0ADg53r8e1wl1K jk94qBmgz0nz3SquQURrjEhoz5Y/k3kjAPlc50t81SQ== X-Received: by 2002:a17:906:f74c:: with SMTP id jp12mr3086814ejb.490.1590059536656; Thu, 21 May 2020 04:12:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzoy8QOJzlDu68pdeqajDKVnG6OHU9AqDYtrWL4EbC7NlyqmR6xKccoI7oS8x/qLhmHYjyBMw== X-Received: by 2002:a17:906:f74c:: with SMTP id jp12mr3086795ejb.490.1590059536313; Thu, 21 May 2020 04:12:16 -0700 (PDT) Received: from localhost (ip5f5af656.dynamic.kabel-deutschland.de. [95.90.246.86]) by smtp.gmail.com with ESMTPSA id d10sm4586303ejd.114.2020.05.21.04.12.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 May 2020 04:12:15 -0700 (PDT) From: Kleber Sacilotto de Souza To: kernel-team@lists.ubuntu.com Subject: [SRU][EOAN][PATCH 1/2] Revert "UBUNTU: SAUCE: overlayfs: fix shitfs special-casing" Date: Thu, 21 May 2020 13:12:09 +0200 Message-Id: <20200521111210.3568-4-kleber.souza@canonical.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200521111210.3568-1-kleber.souza@canonical.com> References: <20200521111210.3568-1-kleber.souza@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1879690 This reverts commit 14d6145772cb9625ddd156189b0de68891925a4f. The change applied for LP: #1857257 and its followup fix LP: #1876645 introduced a regression on overlayfs. Revert these commits for now. Signed-off-by: Kleber Sacilotto de Souza Acked-by: Colin Ian King --- fs/overlayfs/file.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/overlayfs/file.c b/fs/overlayfs/file.c index a406736588d4..a2faa086ee4b 100644 --- a/fs/overlayfs/file.c +++ b/fs/overlayfs/file.c @@ -32,7 +32,6 @@ static struct file *ovl_open_realfile(const struct file *file, int flags = file->f_flags | O_NOATIME | FMODE_NONOTIFY; old_cred = ovl_override_creds(inode->i_sb); - ovl_path_real(file->f_path.dentry, &realpath); if (realpath.dentry->d_sb->s_magic == SHIFTFS_MAGIC) realfile = open_with_fake_path(&realpath, flags, realinode, current_cred());