hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/fs/freevxfs/vxfs_super.c
....@@ -52,6 +52,7 @@
5252 MODULE_AUTHOR("Christoph Hellwig, Krzysztof Blaszkowski");
5353 MODULE_DESCRIPTION("Veritas Filesystem (VxFS) driver");
5454 MODULE_LICENSE("Dual BSD/GPL");
55
+MODULE_IMPORT_NS(ANDROID_GKI_VFS_EXPORT_ONLY);
5556
5657 static struct kmem_cache *vxfs_inode_cachep;
5758
....@@ -131,21 +132,14 @@
131132 return &vi->vfs_inode;
132133 }
133134
134
-static void vxfs_i_callback(struct rcu_head *head)
135
+static void vxfs_free_inode(struct inode *inode)
135136 {
136
- struct inode *inode = container_of(head, struct inode, i_rcu);
137
-
138137 kmem_cache_free(vxfs_inode_cachep, VXFS_INO(inode));
139
-}
140
-
141
-static void vxfs_destroy_inode(struct inode *inode)
142
-{
143
- call_rcu(&inode->i_rcu, vxfs_i_callback);
144138 }
145139
146140 static const struct super_operations vxfs_super_ops = {
147141 .alloc_inode = vxfs_alloc_inode,
148
- .destroy_inode = vxfs_destroy_inode,
142
+ .free_inode = vxfs_free_inode,
149143 .evict_inode = vxfs_evict_inode,
150144 .put_super = vxfs_put_super,
151145 .statfs = vxfs_statfs,
....@@ -236,6 +230,8 @@
236230
237231 sbp->s_op = &vxfs_super_ops;
238232 sbp->s_fs_info = infp;
233
+ sbp->s_time_min = 0;
234
+ sbp->s_time_max = U32_MAX;
239235
240236 if (!vxfs_try_sb_magic(sbp, silent, 1,
241237 (__force __fs32)cpu_to_le32(VXFS_SUPER_MAGIC))) {