The branch main has been updated by bz:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=af393426b321e885d1db5f0a0571f34969a59a9f

commit af393426b321e885d1db5f0a0571f34969a59a9f
Author:     Bjoern A. Zeeb <b...@freebsd.org>
AuthorDate: 2022-10-22 20:27:42 +0000
Commit:     Bjoern A. Zeeb <b...@freebsd.org>
CommitDate: 2022-11-28 17:14:10 +0000

    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
---
 sys/compat/linuxkpi/common/include/linux/fs.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/sys/compat/linuxkpi/common/include/linux/fs.h 
b/sys/compat/linuxkpi/common/include/linux/fs.h
index 55c2ee3e00c6..656b81b7be36 100644
--- a/sys/compat/linuxkpi/common/include/linux/fs.h
+++ b/sys/compat/linuxkpi/common/include/linux/fs.h
@@ -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)
 {

Reply via email to