lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260116154654.GD21174@lst.de>
Date: Fri, 16 Jan 2026 16:46:54 +0100
From: Christoph Hellwig <hch@....de>
To: Hongbo Li <lihongbo22@...wei.com>
Cc: hsiangkao@...ux.alibaba.com, chao@...nel.org, brauner@...nel.org,
	djwong@...nel.org, amir73il@...il.com, hch@....de,
	linux-fsdevel@...r.kernel.org, linux-erofs@...ts.ozlabs.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH v15 9/9] erofs: implement .fadvise for page cache share

On Fri, Jan 16, 2026 at 09:55:50AM +0000, Hongbo Li wrote:
> +static int erofs_ishare_fadvise(struct file *file, loff_t offset,
> +				      loff_t len, int advice)
> +{
> +	return vfs_fadvise((struct file *)file->private_data,
> +			   offset, len, advice);

No need to cast a void pointer.


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ