From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Brauner Subject: Re: [PATCH 30/31] block: store the holder in file->private_data Date: Wed, 7 Jun 2023 11:24:55 +0200 Message-ID: <20230607-verjagen-weise-4fb3d76a6313@brauner> References: <20230606073950.225178-1-hch@lst.de> <20230606073950.225178-31-hch@lst.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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=In-Reply-To:Content-Type:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding: 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=ki87ibK1tm2wqzFPMXWkJl7nWoKXWybi7GQjVNJ+V5M=; b=ZjIO6bkRaa1ZmDrTOpogSEifkU QIg7lMsIWJoKqSvHejjt5qSR5mBLoqgbsI84wBUbIkJsAi+adXOEH0579YOLwMCLv4ngma4yXW6Js /RY9agB/W2wRLQogEsZRzXj+6dQnjgA/9Uzl3EJgPU0KJoueFUSzc2GYZ+Wnv/R9GKQA=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To :From:Date:Sender:Reply-To:Content-Transfer-Encoding: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=ki87ibK1tm2wqzFPMXWkJl7nWoKXWybi7GQjVNJ+V5M=; b=ReDYx2pORTSR71+3KoGqERQDIA +G2OL++JZwNbosGKrO8Mpd6XyPndbtf4a2eI5384/ionOci/1kVj2dYLXFCHwYdkSpOlaIibcrwI8 g+T+UJ6R17/4sU2jB0ru4xpczUDIbYmawQ0uR70IRJlRCQm6j6FGTkOpxThPYI3I7XJA=; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686129904; bh=PVPEiqQnbOrHGRENvLEdaR/nzeey8b8ZshNSuWbTzrk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ALdNOSLUKbyG4MtN9g4NY65h2phNBq7vkw8myPQgpJG2PzaM8f/SVslVCmF/QOc3T Bwp8JuH17KAppuZAf9ArpxZTmb2lgZ7cED8j2ebPZYTj2IOo1Pq/kE6GkpjP2srCxN XuLDkhy5x7omz7gFdxwTAPV7lc6Gdyrkd5NATTyExP7JIaWtEnHvRju/P8W1jwC/ZQ pgr661S3TGnNa0/R8XJs7I9augkFB3fO/k2xICj9Rw66l5DVIPYSNCIJVnNMEfjw+Z gguliFEjC8Gq4dp0LyuKCQZnO9AA7rkPsqLnWoRqyaIZ4YpfwuJwZivsVp2KmUYvZJ O4+xhtnOR9qOw== Content-Disposition: inline In-Reply-To: <20230606073950.225178-31-hch@lst.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net To: Christoph Hellwig 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 , Jens Axboe , "Martin K. Petersen" , linux-f2fs-devel@lists.sourceforge.net, linux-fsdevel@vger.kernel.org, linux-mtd@lists.infradead.org, linux On Tue, Jun 06, 2023 at 09:39:49AM +0200, Christoph Hellwig wrote: > Store the file struct used as the holder in file->private_data as an > indicator that this file descriptor was opened exclusively to remove > the last use of FMODE_EXCL. > > Signed-off-by: Christoph Hellwig > --- Feels a bit odd to store the object itself but anyway, Acked-by: Christian Brauner