LinuxKPI: add a no-op generic_file_llseek()

This is needed for debugfs implementations in drivers.

Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
OKed by:	jfree
Differential Revision: https://reviews.freebsd.org/D37092
This commit is contained in:
Bjoern A. Zeeb 2022-10-22 20:27:42 +00:00
parent 5f2f582ccc
commit af393426b3

View File

@ -306,6 +306,12 @@ default_llseek(struct file *file, loff_t offset, int whence)
return (no_llseek(file, offset, whence));
}
static inline loff_t
generic_file_llseek(struct file *file, loff_t offset, int whence)
{
return (no_llseek(file, offset, whence));
}
static inline loff_t
noop_llseek(struct linux_file *file, loff_t offset, int whence)
{