From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hannes Reinecke Subject: Re: [PATCH 18/31] fs: remove sb->s_mode Date: Wed, 7 Jun 2023 15:01:22 +0200 Message-ID: References: <20230606073950.225178-1-hch@lst.de> <20230606073950.225178-19-hch@lst.de> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: From:References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=e0b8uiSLey2i5fKjUc72GEfnVBNvUaHmrUoFdc8j4KI=; b=ZYOZ7brN4yIoXTH999f1Z9CsEi 9zduAGb6USP8ry7PqU00c9a6tz5N9+t8PvJy8lrcXtcDlrp9w80ojqHRaw1KBhsyW++6Q+XpC5Pr+ y417MI9a8FU60i6sWOOGnHvD4GmYMbuz3gQXthSHE0TD7WdqPdpyPj2j2wXFlCw/9AwQ=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=e0b8uiSLey2i5fKjUc72GEfnVBNvUaHmrUoFdc8j4KI=; b=ZjNMLJOAlgxJXyhRecOgaoFku5 5GU4hXwZ5Sf9OU/rYotRfXKRLTiFCnbfwTwzOpND5p0VsQdK29omokWvXOtBRY+jPqRa3QL0V2QNa 5k/1P28ne0R2X1dBU44nk5DyPcRMdjieX2xdXnUCgDUZuEMv9c7HNtm+KhTel6W3ZRAk=; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1686142887; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=e0b8uiSLey2i5fKjUc72GEfnVBNvUaHmrUoFdc8j4KI=; b=Ibpbi9oFA88eQedg7LCdZoalGdrpovOdhUXuq5//mlAZvHhn/ZKCoq2VonRxr2cTdv0bUU dbjDdT9klMGVAz6z9XFaX4QI5y9wEUhG70/Szm3I63ts9ZSwwk+/rEq8a4XNhQTKBYP76f rKHGsjZLt14/3zbQB7bSxUTAfe20pgQ= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1686142887; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=e0b8uiSLey2i5fKjUc72GEfnVBNvUaHmrUoFdc8j4KI=; b=SEA9Qb3CI3Se3OlJ/bGK2sJSDQ1QHdpuL9Tv0foAVPP1wQtkCAMsknZkx+8K7OdMvnwn45 27BOFZPsjjJ4eOCA== Content-Language: en-US In-Reply-To: <20230606073950.225178-19-hch@lst.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Christoph Hellwig , Jens Axboe Cc: Vignesh Raghavendra , "Rafael J. Wysocki" , linux-nvme@lists.infradead.org, Phillip Potter , Chris Mason , dm-devel@redhat.com, "Md. Haris Iqbal" , Pavel Machek , Miquel Raynal , Jack Wang , linux-nilfs@vger.kernel.org, linux-scsi@vger.kernel.org, Richard Weinberger , linux-pm@vger.kernel.org, linux-um@lists.infradead.org, Josef Bacik , Coly Li , linux-block@vger.kernel.org, linux-bcache@vger.kernel.org, Alexander Viro , David Sterba , Christian Brauner , "Martin K. Petersen" , linux-f2fs-devel@lists.sourceforge.net, linux-fsdevel@vger.kernel.org, linux-mtd@lists.infradead. On 6/6/23 09:39, Christoph Hellwig wrote: > There is no real need to store the open mode in the super_block now. > It is only used by f2fs, which can easily recalculate it. > > Signed-off-by: Christoph Hellwig > --- > fs/f2fs/super.c | 10 ++++++---- > fs/nilfs2/super.c | 1 - > fs/super.c | 2 -- > include/linux/fs.h | 1 - > 4 files changed, 6 insertions(+), 8 deletions(-) > Reviewed-by: Hannes Reinecke Cheers, Hannes