aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2009-03-16 03:19:59 -0400
committerChristoph Hellwig <hch@brick.lst.de>2009-03-16 03:19:59 -0400
commitdd0bbad81c8d02315a5035d3d6ea441dd1254dc1 (patch)
treeddba033d3672b45f520e34b7a2f80dcb80bc0f04 /fs/xfs
parent21b699c89545ed94d9a1c6fcc8ac704784f68f40 (diff)
xfs: remove another leftover of the old inode log item format
There's another little snipplet of code left from the handling of the old inode log item format in xlog_recover_do_inode_trans. Kill it as it can't be reached anymore. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs')
-rw-r--r--fs/xfs/xfs_log_recover.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/fs/xfs/xfs_log_recover.c b/fs/xfs/xfs_log_recover.c
index ceeba45e0224..ac47c5f2bcfa 100644
--- a/fs/xfs/xfs_log_recover.c
+++ b/fs/xfs/xfs_log_recover.c
@@ -2511,16 +2511,10 @@ xlog_recover_do_inode_trans(
2511 } 2511 }
2512 2512
2513write_inode_buffer: 2513write_inode_buffer:
2514 if (ITEM_TYPE(item) == XFS_LI_INODE) { 2514 ASSERT(bp->b_mount == NULL || bp->b_mount == mp);
2515 ASSERT(bp->b_mount == NULL || bp->b_mount == mp); 2515 bp->b_mount = mp;
2516 bp->b_mount = mp; 2516 XFS_BUF_SET_IODONE_FUNC(bp, xlog_recover_iodone);
2517 XFS_BUF_SET_IODONE_FUNC(bp, xlog_recover_iodone); 2517 xfs_bdwrite(mp, bp);
2518 xfs_bdwrite(mp, bp);
2519 } else {
2520 XFS_BUF_STALE(bp);
2521 error = xfs_bwrite(mp, bp);
2522 }
2523
2524error: 2518error:
2525 if (need_free) 2519 if (need_free)
2526 kmem_free(in_f); 2520 kmem_free(in_f);