Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 108310
b: refs/heads/master
c: a19d033
h: refs/heads/master
v: v3
  • Loading branch information
Christoph Hellwig authored and Lachlan McIlroy committed Aug 13, 2008
1 parent 53b25e9 commit 8575a33
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 39dab9d7daf5f664a3569378107a2cb284c8a594
refs/heads/master: a19d033cd2cc66120f01b370ec081d67b59b7924
2 changes: 1 addition & 1 deletion trunk/fs/xfs/linux-2.6/xfs_super.c
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,7 @@ STATIC void
xfs_fs_destroy_inode(
struct inode *inode)
{
kmem_zone_free(xfs_vnode_zone, vn_from_inode(inode));
kmem_zone_free(xfs_vnode_zone, inode);
}

STATIC void
Expand Down
7 changes: 1 addition & 6 deletions trunk/fs/xfs/linux-2.6/xfs_vnode.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ typedef struct inode bhv_vnode_t;
/*
* Vnode to Linux inode mapping.
*/
static inline bhv_vnode_t *vn_from_inode(struct inode *inode)
{
return inode;
}
static inline struct inode *vn_to_inode(bhv_vnode_t *vnode)
{
return vnode;
Expand Down Expand Up @@ -100,8 +96,7 @@ extern bhv_vnode_t *vn_hold(bhv_vnode_t *);

static inline bhv_vnode_t *vn_grab(bhv_vnode_t *vp)
{
struct inode *inode = igrab(vn_to_inode(vp));
return inode ? vn_from_inode(inode) : NULL;
return igrab(vn_to_inode(vp));
}

/*
Expand Down

0 comments on commit 8575a33

Please sign in to comment.