linux510/512-tkg: Fix futex2 patchsets for https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.12.14&id=11b5f1bdadb6ed6ba8694a94805af248c9170dae changes that got backported from 5.13
Fixes https://github.com/Frogging-Family/linux-tkg/issues/275
This commit is contained in:
@@ -1226,7 +1226,7 @@ index d6a2efbfa488..69866f98f287 100644
|
||||
*/
|
||||
|
||||
#include <linux/freezer.h>
|
||||
+#include <linux/hugetlb.h>
|
||||
+#include <linux/pagemap.h>
|
||||
#include <linux/jhash.h>
|
||||
#include <linux/memblock.h>
|
||||
+#include <linux/pagemap.h>
|
||||
@@ -1429,7 +1429,7 @@ index d6a2efbfa488..69866f98f287 100644
|
||||
+ }
|
||||
+
|
||||
+ key->pointer = futex_get_inode_uuid(inode);
|
||||
+ key->index = (unsigned long)basepage_index(tail);
|
||||
+ key->index = (unsigned long)hugetlb_basepage_index(tail);
|
||||
+ key->offset |= FUT_OFF_INODE;
|
||||
+
|
||||
+ rcu_read_unlock();
|
||||
|
Reference in New Issue
Block a user