diff options
Diffstat (limited to 'fs/freevxfs/vxfs_inode.c')
-rw-r--r-- | fs/freevxfs/vxfs_inode.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/freevxfs/vxfs_inode.c b/fs/freevxfs/vxfs_inode.c index 7b2af5abe2fa..cf9ef918a2a9 100644 --- a/fs/freevxfs/vxfs_inode.c +++ b/fs/freevxfs/vxfs_inode.c | |||
@@ -187,10 +187,10 @@ vxfs_stiget(struct super_block *sbp, ino_t ino) | |||
187 | * vxfs_transmod returns a Linux mode_t for a given | 187 | * vxfs_transmod returns a Linux mode_t for a given |
188 | * VxFS inode structure. | 188 | * VxFS inode structure. |
189 | */ | 189 | */ |
190 | static __inline__ mode_t | 190 | static __inline__ umode_t |
191 | vxfs_transmod(struct vxfs_inode_info *vip) | 191 | vxfs_transmod(struct vxfs_inode_info *vip) |
192 | { | 192 | { |
193 | mode_t ret = vip->vii_mode & ~VXFS_TYPE_MASK; | 193 | umode_t ret = vip->vii_mode & ~VXFS_TYPE_MASK; |
194 | 194 | ||
195 | if (VXFS_ISFIFO(vip)) | 195 | if (VXFS_ISFIFO(vip)) |
196 | ret |= S_IFIFO; | 196 | ret |= S_IFIFO; |
@@ -340,7 +340,6 @@ vxfs_iget(struct super_block *sbp, ino_t ino) | |||
340 | static void vxfs_i_callback(struct rcu_head *head) | 340 | static void vxfs_i_callback(struct rcu_head *head) |
341 | { | 341 | { |
342 | struct inode *inode = container_of(head, struct inode, i_rcu); | 342 | struct inode *inode = container_of(head, struct inode, i_rcu); |
343 | INIT_LIST_HEAD(&inode->i_dentry); | ||
344 | kmem_cache_free(vxfs_inode_cachep, inode->i_private); | 343 | kmem_cache_free(vxfs_inode_cachep, inode->i_private); |
345 | } | 344 | } |
346 | 345 | ||