From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 79A403148B7; Wed, 19 Nov 2025 06:25:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.95.11.211 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763533512; cv=none; b=h/5ci0kHermGe4ivdn7HeHd9GeNnJNiCACYdkSFY0o31/HXTbkVba5t18NbFc48wuaEuPymnKj1+6/97oeM5bCf6X+ehEbLMMCu5TrvuuqIUDkQLZqrgmcxgpU/GAGzgt1THsB+fLP4LWyXTf7dgHcZyY7VSu6Z4F70RHhsKfoU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763533512; c=relaxed/simple; bh=AqAHNkrHxx42jEBoafUC+KtV3iXc+xj17wNWRju+99A=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Z5uYNvxLjaRh5Rl5dc0gUk8Y8olYpCY9K6IDAvdGHnf/84W9jy9nXD7kKHLkJhYODykSDtBHgFu5VFm4LiozYucUHKXA5k4eJD4wICY/cdULDdZ3mR4nf7QPk8P51iRngWSP93PA1RAUe34TQw9k7skssKZ4hien/EpwwbPwHH4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.client-ip=213.95.11.211 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id C1E6768AFE; Wed, 19 Nov 2025 07:25:01 +0100 (CET) Date: Wed, 19 Nov 2025 07:25:01 +0100 From: Christoph Hellwig To: Chaitanya Kulkarni Cc: Christoph Hellwig , Christian Brauner , Al Viro , David Sterba , Jan Kara , Mike Marshall , Martin Brandenburg , Carlos Maiolino , Stefan Roesch , Jeff Layton , "linux-kernel@vger.kernel.org" , "linux-btrfs@vger.kernel.org" , "gfs2@lists.linux.dev" , "io-uring@vger.kernel.org" , "devel@lists.orangefs.org" , "linux-unionfs@vger.kernel.org" , "linux-mtd@lists.infradead.org" , "linux-xfs@vger.kernel.org" , "linux-nfs@vger.kernel.org" Subject: Re: [PATCH 05/14] fs: remove inode_update_time Message-ID: <20251119062501.GA20592@lst.de> References: <20251114062642.1524837-1-hch@lst.de> <20251114062642.1524837-6-hch@lst.de> <813f36d3-2431-4266-bb2e-faa3fc2a8fd7@nvidia.com> Precedence: bulk X-Mailing-List: linux-unionfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <813f36d3-2431-4266-bb2e-faa3fc2a8fd7@nvidia.com> User-Agent: Mutt/1.5.17 (2007-11-01) On Mon, Nov 17, 2025 at 06:59:25AM +0000, Chaitanya Kulkarni wrote: > > - ret = inode_update_time(inode, sync_mode); > > + if (inode->i_op->update_time) > > + ret = inode->i_op->update_time(inode, sync_mode); > > + else > > + generic_update_time(inode, sync_mode); > > mnt_put_write_access_file(file); > > return ret; > > } > > do you need to catch the value from generic_update_time() to match > if case ? although original code was returning 0 for generic_update_time() > case : Yes. It doesn't matter for this series, but it's good future-proofing.