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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9B3F0C0015E for ; Wed, 19 Jul 2023 15:40:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230100AbjGSPkM (ORCPT ); Wed, 19 Jul 2023 11:40:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231909AbjGSPkL (ORCPT ); Wed, 19 Jul 2023 11:40:11 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B70DE47; Wed, 19 Jul 2023 08:40:03 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8EDFF61764; Wed, 19 Jul 2023 15:40:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 20B56C433C7; Wed, 19 Jul 2023 15:40:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1689781201; bh=zY5bS398x+p4X13200NMBqcTChbgpAxmHByrPgj4TII=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Hk4FhDe1b3I2vPMzMxGNqcd5gx6PRmoCsmsj7FAgkGbQc1cP2TeUs+21DCch8bcZh cW39BpMidA8vwqa0rXcNW/QhR7usOy21e++7GphbRvFDnKdTQLxxC41SuiGOqOxj9L /QNZJ0TlqJHbyZzVsMj8ef1xZLT8oE7w2LQFJUSQ= Date: Wed, 19 Jul 2023 17:39:58 +0200 From: Greg KH To: Eric Van Hensbergen Cc: Latchesar Ionkov , Dominique Martinet , Christian Schoenebeck , v9fs@lists.linux.dev, linux-kernel@vger.kernel.org, kernel@pengutronix.de, stable@vger.kernel.org, Robert Schwebel Subject: Re: [PATCH v3 1/4] fs/9p: remove unnecessary and overrestrictive check Message-ID: <2023071940-aground-kilometer-ab18@gregkh> References: <20230716-fixes-overly-restrictive-mmap-v3-0-769791f474fd@kernel.org> <20230716-fixes-overly-restrictive-mmap-v3-1-769791f474fd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230716-fixes-overly-restrictive-mmap-v3-1-769791f474fd@kernel.org> Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Wed, Jul 19, 2023 at 03:17:05PM +0000, Eric Van Hensbergen wrote: > This eliminates a check for shared that was overrestrictive and > duplicated a check in generic_file_readonly_mmap. > > Fixes: 1543b4c5071c ("fs/9p: remove writeback fid and fix per-file modes") > Link: https://lore.kernel.org/v9fs/ZK25XZ%2BGpR3KHIB%2F@pengutronix.de/ > Reviewed-by: Dominique Martinet > Reviewed-by: Christian Schoenebeck > Signed-off-by: Eric Van Hensbergen > --- > fs/9p/vfs_file.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read: https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html for how to do this properly.