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:
parent
5f2f582ccc
commit
af393426b3
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user