| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH 6/6] XFS: use is_bad_inode() directly in xfs_reclaim_inode() |
| From: | Dave Chinner <david@xxxxxxxxxxxxx> |
| Date: | Sun, 14 Sep 2008 00:15:00 +1000 |
| In-reply-to: | <1221315300-30336-1-git-send-email-david@fromorbit.com> |
| References: | <1221315300-30336-1-git-send-email-david@fromorbit.com> |
| Sender: | xfs-bounce@xxxxxxxxxxx |
Signed-off-by: Dave Chinner <david@xxxxxxxxxxxxx>
---
fs/xfs/linux-2.6/xfs_sync.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/xfs/linux-2.6/xfs_sync.c b/fs/xfs/linux-2.6/xfs_sync.c
index d0354a6..22006b5 100644
--- a/fs/xfs/linux-2.6/xfs_sync.c
+++ b/fs/xfs/linux-2.6/xfs_sync.c
@@ -633,7 +633,7 @@ xfs_reclaim_inode(
* In the case of a forced shutdown we rely on xfs_iflush() to
* wait for the inode to be unpinned before returning an error.
*/
- if (!VN_BAD(VFS_I(ip)) && xfs_iflush(ip, sync_mode) == 0) {
+ if (!is_bad_inode(VFS_I(ip)) && xfs_iflush(ip, sync_mode) == 0) {
/* synchronize with xfs_iflush_done */
xfs_iflock(ip);
xfs_ifunlock(ip);
--
1.5.6
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 1/3] Inode: Allow external initialisers, Dave Chinner |
|---|---|
| Next by Date: | [PATCH 0/6] XFS: Track reclaimable inodes in inode cache., Dave Chinner |
| Previous by Thread: | [PATCH 0/6] XFS: Track reclaimable inodes in inode cache., Dave Chinner |
| Next by Thread: | [PATCH 2/6] XFS: mark inodes for reclaim via a tag in the inode radix tree, Dave Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |