forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-11-24 2b26ab132d1b33b91c84c6d732456200e8c5ee77
kernel/fs/fscache/cookie.c
....@@ -950,3 +950,11 @@
950950 return -ESTALE;
951951 }
952952 EXPORT_SYMBOL(__fscache_check_consistency);
953
+
954
+void __init fscache_cookie_init(void)
955
+{
956
+ int i;
957
+
958
+ for (i = 0; i < ARRAY_SIZE(fscache_cookie_hash); i++)
959
+ INIT_HLIST_BL_HEAD(&fscache_cookie_hash[i]);
960
+}