• R/O
  • SSH
  • HTTPS

akari: 提交


Commit MetaInfo

修訂679 (tree)
時間2021-12-12 16:47:58
作者kumaneko

Log Message

(empty log message)

Change Summary

差異

--- trunk/akari/policy_io.c (revision 678)
+++ trunk/akari/policy_io.c (revision 679)
@@ -6146,7 +6146,9 @@
61466146 */
61476147 static int ccs_open(struct inode *inode, struct file *file)
61486148 {
6149-#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 10, 0)
6149+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 17, 0)
6150+ const u8 type = (unsigned long) pde_data(inode);
6151+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(3, 10, 0)
61506152 const u8 type = (unsigned long) PDE_DATA(inode);
61516153 #else
61526154 const u8 type = (unsigned long) PDE(inode)->data;
Show on old repository browser