.. | .. |
---|
52 | 52 | MODULE_AUTHOR("Christoph Hellwig, Krzysztof Blaszkowski"); |
---|
53 | 53 | MODULE_DESCRIPTION("Veritas Filesystem (VxFS) driver"); |
---|
54 | 54 | MODULE_LICENSE("Dual BSD/GPL"); |
---|
| 55 | +MODULE_IMPORT_NS(ANDROID_GKI_VFS_EXPORT_ONLY); |
---|
55 | 56 | |
---|
56 | 57 | static struct kmem_cache *vxfs_inode_cachep; |
---|
57 | 58 | |
---|
.. | .. |
---|
131 | 132 | return &vi->vfs_inode; |
---|
132 | 133 | } |
---|
133 | 134 | |
---|
134 | | -static void vxfs_i_callback(struct rcu_head *head) |
---|
| 135 | +static void vxfs_free_inode(struct inode *inode) |
---|
135 | 136 | { |
---|
136 | | - struct inode *inode = container_of(head, struct inode, i_rcu); |
---|
137 | | - |
---|
138 | 137 | 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); |
---|
144 | 138 | } |
---|
145 | 139 | |
---|
146 | 140 | static const struct super_operations vxfs_super_ops = { |
---|
147 | 141 | .alloc_inode = vxfs_alloc_inode, |
---|
148 | | - .destroy_inode = vxfs_destroy_inode, |
---|
| 142 | + .free_inode = vxfs_free_inode, |
---|
149 | 143 | .evict_inode = vxfs_evict_inode, |
---|
150 | 144 | .put_super = vxfs_put_super, |
---|
151 | 145 | .statfs = vxfs_statfs, |
---|
.. | .. |
---|
236 | 230 | |
---|
237 | 231 | sbp->s_op = &vxfs_super_ops; |
---|
238 | 232 | sbp->s_fs_info = infp; |
---|
| 233 | + sbp->s_time_min = 0; |
---|
| 234 | + sbp->s_time_max = U32_MAX; |
---|
239 | 235 | |
---|
240 | 236 | if (!vxfs_try_sb_magic(sbp, silent, 1, |
---|
241 | 237 | (__force __fs32)cpu_to_le32(VXFS_SUPER_MAGIC))) { |
---|