Re: [PATCH v15 9/9] erofs: implement .fadvise for page cache share
From: Hongbo Li
Date: Sun Jan 18 2026 - 20:30:15 EST
On 2026/1/16 23:46, Christoph Hellwig wrote:
On Fri, Jan 16, 2026 at 09:55:50AM +0000, Hongbo Li wrote:Thanks, will remove in next.
+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.
Thanks,
Hongbo