summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_vnodeops.c
diff options
context:
space:
mode:
authorFelix Blyakher <felixb@sgi.com>2009-03-16 09:15:27 -0500
committerFelix Blyakher <felixb@sgi.com>2009-03-16 09:15:27 -0500
commit4740cd8b4f27d6ac11e76c432d5d03fb780b2596 (patch)
tree46cb64d646ce1481dc9e606740742c40c9e6af50 /fs/xfs/xfs_vnodeops.c
parentcb1b77804091cc3491da4338a3599e318f358b25 (diff)
parent6cc87645e2a3c28d857b074e90bf88bfcd117afa (diff)
downloadkernel-crypto-4740cd8b4f27d6ac11e76c432d5d03fb780b2596.tar.gz
kernel-crypto-4740cd8b4f27d6ac11e76c432d5d03fb780b2596.tar.xz
kernel-crypto-4740cd8b4f27d6ac11e76c432d5d03fb780b2596.zip
Merge branch 'master' of git://git.kernel.org/pub/scm/fs/xfs/xfs
Diffstat (limited to 'fs/xfs/xfs_vnodeops.c')
-rw-r--r--fs/xfs/xfs_vnodeops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_vnodeops.c b/fs/xfs/xfs_vnodeops.c
index 59de04954bc..6e28461e761 100644
--- a/fs/xfs/xfs_vnodeops.c
+++ b/fs/xfs/xfs_vnodeops.c
@@ -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;
@@ -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;
}