Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163429817
D49069.id152300.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
643 B
Referenced Files
None
Subscribers
None
D49069.id152300.diff
View Options
diff --git a/sys/compat/linuxkpi/common/include/linux/fs.h b/sys/compat/linuxkpi/common/include/linux/fs.h
--- a/sys/compat/linuxkpi/common/include/linux/fs.h
+++ b/sys/compat/linuxkpi/common/include/linux/fs.h
@@ -150,6 +150,11 @@
* an illegal seek error
*/
off_t (*llseek)(struct linux_file *, off_t, int);
+/*
+ * Not supported in FreeBSD. That's ok, we never call it and it allows some
+ * drivers like DRM drivers to compile without changes.
+ */
+ void (*show_fdinfo)(struct seq_file *, struct file *);
#if 0
/* We do not support these methods. Don't permit them to compile. */
loff_t (*llseek)(struct file *, loff_t, int);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jul 24, 3:35 AM (16 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35321916
Default Alt Text
D49069.id152300.diff (643 B)
Attached To
Mode
D49069: linuxkpi: Add `show_fdinfo()` to `struct file_operations`
Attached
Detach File
Event Timeline
Log In to Comment