hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/fs/reiserfs/super.c
....@@ -651,15 +651,9 @@
651651 return &ei->vfs_inode;
652652 }
653653
654
-static void reiserfs_i_callback(struct rcu_head *head)
654
+static void reiserfs_free_inode(struct inode *inode)
655655 {
656
- struct inode *inode = container_of(head, struct inode, i_rcu);
657656 kmem_cache_free(reiserfs_inode_cachep, REISERFS_I(inode));
658
-}
659
-
660
-static void reiserfs_destroy_inode(struct inode *inode)
661
-{
662
- call_rcu(&inode->i_rcu, reiserfs_i_callback);
663657 }
664658
665659 static void init_once(void *foo)
....@@ -816,7 +810,7 @@
816810
817811 static const struct super_operations reiserfs_sops = {
818812 .alloc_inode = reiserfs_alloc_inode,
819
- .destroy_inode = reiserfs_destroy_inode,
813
+ .free_inode = reiserfs_free_inode,
820814 .write_inode = reiserfs_write_inode,
821815 .dirty_inode = reiserfs_dirty_inode,
822816 .evict_inode = reiserfs_evict_inode,
....@@ -1983,6 +1977,9 @@
19831977 goto error_unlocked;
19841978 }
19851979
1980
+ s->s_time_min = 0;
1981
+ s->s_time_max = U32_MAX;
1982
+
19861983 rs = SB_DISK_SUPER_BLOCK(s);
19871984 /*
19881985 * Let's do basic sanity check to verify that underlying device is not
....@@ -2658,6 +2655,7 @@
26582655 MODULE_DESCRIPTION("ReiserFS journaled filesystem");
26592656 MODULE_AUTHOR("Hans Reiser <reiser@namesys.com>");
26602657 MODULE_LICENSE("GPL");
2658
+MODULE_IMPORT_NS(ANDROID_GKI_VFS_EXPORT_ONLY);
26612659
26622660 module_init(init_reiserfs_fs);
26632661 module_exit(exit_reiserfs_fs);