aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/xfs/linux-2.6/xfs_vnode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/linux-2.6/xfs_vnode.c b/fs/xfs/linux-2.6/xfs_vnode.c
index dceb6dbaa2da..ac827d231490 100644
--- a/fs/xfs/linux-2.6/xfs_vnode.c
+++ b/fs/xfs/linux-2.6/xfs_vnode.c
@@ -92,7 +92,7 @@ static inline int xfs_icount(struct xfs_inode *ip)
92{ 92{
93 struct inode *inode = VFS_I(ip); 93 struct inode *inode = VFS_I(ip);
94 94
95 if (!inode) 95 if (inode)
96 return atomic_read(&inode->i_count); 96 return atomic_read(&inode->i_count);
97 return -1; 97 return -1;
98} 98}