forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-11-20 2e7bd41e4e8ab3d1efdabd9e263a2f7fe79bff8c
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
+}