From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 32F02C4320A for ; Wed, 1 Sep 2021 16:40:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 06427610C8 for ; Wed, 1 Sep 2021 16:40:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343959AbhIAQln (ORCPT ); Wed, 1 Sep 2021 12:41:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:57826 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245345AbhIAQlm (ORCPT ); Wed, 1 Sep 2021 12:41:42 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 909566108B; Wed, 1 Sep 2021 16:40:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1630514444; bh=mB2cwuX11vBXy1XtIvBkgbVTYycu/wT4dazyfxEhyIw=; h=From:To:Cc:Subject:Date:From; b=Nx3R5G91wUdm/u5yAlifz4js1QqtEwfml0EHVmqE3hWmjaA2NFzpiBraUo4PFSWOz fRYFrLXMBJeytxKQU0oa4FUzxbyxicwpraxknzgzLNTwYZKY45s6Mc2XhMzC39j4HG fvL07lASQFvCmefOMQSW2oaqUopXFO2ajIwQonzbQCOhYMD+wlBN53DPpOH4WI94k7 r45PYUBYwQQ3aHb5PvsKN325REiyMUbyZqapdObzfzMkO/cEU1WcTnEB+WgWimPVHb Dk8N/LjoQFR1DvYk1FV3YYwqRfNTNC1mgVXyXIqXIPEN7DJ3VPbHSWyNALHDF86ijp pGETRjYVsuiUA== From: Eric Biggers To: stable@vger.kernel.org Cc: linux-fscrypt@vger.kernel.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-mtd@lists.infradead.org Subject: [PATCH 5.4 0/4] backport fscrypt symlink fixes to 5.4 Date: Wed, 1 Sep 2021 09:40:37 -0700 Message-Id: <20210901164041.176238-1-ebiggers@kernel.org> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-fscrypt@vger.kernel.org This series backports some patches that failed to apply to 5.4-stable due to the prototype of inode_operations::getattr having changed in v5.12, as well several other conflicts. Please apply to 5.4-stable. Eric Biggers (4): fscrypt: add fscrypt_symlink_getattr() for computing st_size ext4: report correct st_size for encrypted symlinks f2fs: report correct st_size for encrypted symlinks ubifs: report correct st_size for encrypted symlinks fs/crypto/hooks.c | 44 +++++++++++++++++++++++++++++++++++++++++ fs/ext4/symlink.c | 11 ++++++++++- fs/f2fs/namei.c | 11 ++++++++++- fs/ubifs/file.c | 12 ++++++++++- include/linux/fscrypt.h | 7 +++++++ 5 files changed, 82 insertions(+), 3 deletions(-) -- 2.33.0 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AD10BC4320A for ; Wed, 1 Sep 2021 16:41:05 +0000 (UTC) Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 76D7B61074; Wed, 1 Sep 2021 16:41:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 76D7B61074 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.sourceforge.net Received: from [127.0.0.1] (helo=sfs-ml-2.v29.lw.sourceforge.com) by sfs-ml-2.v29.lw.sourceforge.com with esmtp (Exim 4.92.3) (envelope-from ) id 1mLTIO-00079i-BB; Wed, 01 Sep 2021 16:41:04 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-2.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.3) (envelope-from ) id 1mLTIB-000794-AJ for linux-f2fs-devel@lists.sourceforge.net; Wed, 01 Sep 2021 16:40:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:MIME-Version:Message-Id: Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=kq5HkuhagzDb9Rj5718WDfYadIFnQlrS4DP21jFPnO8=; b=DFSAlde1x+V4A6anch49dFYRN6 M+FxpV42h3KpLqRVDRQ57o+sKOesLO0iKhykgWTHCII+avhX04b62trGPGGJJBY6GVhJ3uvdcUNl3 T3FKcTLVVFTBwmIMZAVQtSUScdxDYH9cN8dadi5Rm5iI3FflcJJaXpi1TdzGd/0b96f0=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject:Cc:To:From :Sender:Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=kq5HkuhagzDb9Rj5718WDfYadIFnQlrS4DP21jFPnO8=; b=l ukexqyhegMrdeSvJgIWFCa/0C50YbeG3cmfJ9YuVhn83zScaRrYFLpLd6xrjhOpkbcfW4zjsOAHT/ EAsWPoYniMQUQ6AshIxTr9UzzwDE/WU0wiVG4E0EL8v/c4fa1CUdN91ybvsidS0wypmsnO4xoDUel ApHofPwUm3uUOOio=; Received: from mail.kernel.org ([198.145.29.99]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.3) id 1mLTIA-00009o-7L for linux-f2fs-devel@lists.sourceforge.net; Wed, 01 Sep 2021 16:40:51 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 909566108B; Wed, 1 Sep 2021 16:40:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1630514444; bh=mB2cwuX11vBXy1XtIvBkgbVTYycu/wT4dazyfxEhyIw=; h=From:To:Cc:Subject:Date:From; b=Nx3R5G91wUdm/u5yAlifz4js1QqtEwfml0EHVmqE3hWmjaA2NFzpiBraUo4PFSWOz fRYFrLXMBJeytxKQU0oa4FUzxbyxicwpraxknzgzLNTwYZKY45s6Mc2XhMzC39j4HG fvL07lASQFvCmefOMQSW2oaqUopXFO2ajIwQonzbQCOhYMD+wlBN53DPpOH4WI94k7 r45PYUBYwQQ3aHb5PvsKN325REiyMUbyZqapdObzfzMkO/cEU1WcTnEB+WgWimPVHb Dk8N/LjoQFR1DvYk1FV3YYwqRfNTNC1mgVXyXIqXIPEN7DJ3VPbHSWyNALHDF86ijp pGETRjYVsuiUA== From: Eric Biggers To: stable@vger.kernel.org Date: Wed, 1 Sep 2021 09:40:37 -0700 Message-Id: <20210901164041.176238-1-ebiggers@kernel.org> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 X-Headers-End: 1mLTIA-00009o-7L Subject: [f2fs-dev] [PATCH 5.4 0/4] backport fscrypt symlink fixes to 5.4 X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-fscrypt@vger.kernel.org, linux-ext4@vger.kernel.org, linux-mtd@lists.infradead.org, linux-f2fs-devel@lists.sourceforge.net Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net This series backports some patches that failed to apply to 5.4-stable due to the prototype of inode_operations::getattr having changed in v5.12, as well several other conflicts. Please apply to 5.4-stable. Eric Biggers (4): fscrypt: add fscrypt_symlink_getattr() for computing st_size ext4: report correct st_size for encrypted symlinks f2fs: report correct st_size for encrypted symlinks ubifs: report correct st_size for encrypted symlinks fs/crypto/hooks.c | 44 +++++++++++++++++++++++++++++++++++++++++ fs/ext4/symlink.c | 11 ++++++++++- fs/f2fs/namei.c | 11 ++++++++++- fs/ubifs/file.c | 12 ++++++++++- include/linux/fscrypt.h | 7 +++++++ 5 files changed, 82 insertions(+), 3 deletions(-) -- 2.33.0 _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BC2D0C4320A for ; Wed, 1 Sep 2021 16:41:30 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8EE0861059 for ; Wed, 1 Sep 2021 16:41:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 8EE0861059 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=0OQUKK1jgqt0ehCMib0zauHE91QOX+cWsIgsQ+YpKdI=; b=OJIUiuv2TqIRi0 v9c38HxQfZc5fqoHPSmy8hZmHb7SPNU/c1MQ02BwwNjlB9YRvKfV8F2uIU6QFGx4buOFZtOzEPlx1 hs0zDddNr9/2wWT8eTThrBOs4/hp3A472kvQ+Ux45jqfUpuiTfmTOkaPktoqz19AEkefBjqgRlbzz f96sQa8wJUoY5Je9xogzvpkkKJ0gvCgVht0Sw99kozgkeb/8AGhI1hRBBzp7IvqeAY1/qdxq1a8KB bk6oXpDX1/X5diRpn3RdSzZ0DH74DCWaT6N77s3Alv4XR6YQTwB8Homf9WatFmLUvA3QERjrKcAXp Hc3rLrb6HK2MrzX9dJQA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mLTI8-006YXk-Mn; Wed, 01 Sep 2021 16:40:48 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mLTI5-006YW4-GB for linux-mtd@lists.infradead.org; Wed, 01 Sep 2021 16:40:46 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 909566108B; Wed, 1 Sep 2021 16:40:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1630514444; bh=mB2cwuX11vBXy1XtIvBkgbVTYycu/wT4dazyfxEhyIw=; h=From:To:Cc:Subject:Date:From; b=Nx3R5G91wUdm/u5yAlifz4js1QqtEwfml0EHVmqE3hWmjaA2NFzpiBraUo4PFSWOz fRYFrLXMBJeytxKQU0oa4FUzxbyxicwpraxknzgzLNTwYZKY45s6Mc2XhMzC39j4HG fvL07lASQFvCmefOMQSW2oaqUopXFO2ajIwQonzbQCOhYMD+wlBN53DPpOH4WI94k7 r45PYUBYwQQ3aHb5PvsKN325REiyMUbyZqapdObzfzMkO/cEU1WcTnEB+WgWimPVHb Dk8N/LjoQFR1DvYk1FV3YYwqRfNTNC1mgVXyXIqXIPEN7DJ3VPbHSWyNALHDF86ijp pGETRjYVsuiUA== From: Eric Biggers To: stable@vger.kernel.org Cc: linux-fscrypt@vger.kernel.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-mtd@lists.infradead.org Subject: [PATCH 5.4 0/4] backport fscrypt symlink fixes to 5.4 Date: Wed, 1 Sep 2021 09:40:37 -0700 Message-Id: <20210901164041.176238-1-ebiggers@kernel.org> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210901_094045_595648_58387ED3 X-CRM114-Status: UNSURE ( 6.31 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" Errors-To: linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org This series backports some patches that failed to apply to 5.4-stable due to the prototype of inode_operations::getattr having changed in v5.12, as well several other conflicts. Please apply to 5.4-stable. Eric Biggers (4): fscrypt: add fscrypt_symlink_getattr() for computing st_size ext4: report correct st_size for encrypted symlinks f2fs: report correct st_size for encrypted symlinks ubifs: report correct st_size for encrypted symlinks fs/crypto/hooks.c | 44 +++++++++++++++++++++++++++++++++++++++++ fs/ext4/symlink.c | 11 ++++++++++- fs/f2fs/namei.c | 11 ++++++++++- fs/ubifs/file.c | 12 ++++++++++- include/linux/fscrypt.h | 7 +++++++ 5 files changed, 82 insertions(+), 3 deletions(-) -- 2.33.0 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/