Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 140124
b: refs/heads/master
c: cb4c8cc
h: refs/heads/master
v: v3
  • Loading branch information
Christoph Hellwig authored and Christoph Hellwig committed Mar 16, 2009
1 parent 069e284 commit b9672c4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 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: 8fab451e3cfe02a5e3dfc4bab3cfb975bc11fc09
refs/heads/master: cb4c8cc1e92bc68c952e9a81a9fb9736bd8150de
8 changes: 0 additions & 8 deletions trunk/fs/xfs/linux-2.6/xfs_vnode.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,6 @@ struct attrlist_cursor_kern;
Prevent VM access to the pages until
the operation completes. */

/*
* Dealing with bad inodes
*/
static inline int VN_BAD(struct inode *vp)
{
return is_bad_inode(vp);
}

/*
* Some useful predicates.
*/
Expand Down
4 changes: 2 additions & 2 deletions trunk/fs/xfs/xfs_vnodeops.c
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,7 @@ xfs_inactive(
* If the inode is already free, then there can be nothing
* to clean up here.
*/
if (ip->i_d.di_mode == 0 || VN_BAD(VFS_I(ip))) {
if (ip->i_d.di_mode == 0 || is_bad_inode(VFS_I(ip))) {
ASSERT(ip->i_df.if_real_bytes == 0);
ASSERT(ip->i_df.if_broot_bytes == 0);
return VN_INACTIVE_CACHE;
Expand Down Expand Up @@ -2448,7 +2448,7 @@ xfs_reclaim(
ASSERT(!VN_MAPPED(VFS_I(ip)));

/* bad inode, get out here ASAP */
if (VN_BAD(VFS_I(ip))) {
if (is_bad_inode(VFS_I(ip))) {
xfs_ireclaim(ip);
return 0;
}
Expand Down

0 comments on commit b9672c4

Please sign in to comment.