[PATCH 30/31] block: store the holder in file->private_data

Christian Brauner brauner at kernel.org
Wed Jun 7 02:24:55 PDT 2023


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 <hch at lst.de>
> ---

Feels a bit odd to store the object itself but anyway,
Acked-by: Christian Brauner <brauner at kernel.org>



More information about the linux-mtd mailing list