public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* re: xfs: recovery of swap extents operations for CRC filesystems
@ 2013-09-11 21:18 Dan Carpenter
  2013-09-11  2:19 ` Dave Chinner
  0 siblings, 1 reply; 3+ messages in thread
From: Dan Carpenter @ 2013-09-11 21:18 UTC (permalink / raw)
  To: dchinner; +Cc: xfs

Hello Dave Chinner,

The patch 638f44163d57: "xfs: recovery of swap extents operations for
CRC filesystems" from Aug 30, 2013, leads to the following
static checker warning: "fs/xfs/xfs_log_recover.c:2999
xlog_recover_inode_pass2()
	 info: ignoring unreachable code."

fs/xfs/xfs_log_recover.c
  2992  out_release:
  2993          xfs_buf_relse(bp);
  2994  error:
  2995          if (need_free)
  2996                  kmem_free(in_f);
  2997          return XFS_ERROR(error);
                ^^^^^^^^^^^^^^^^^^^^^^^
  2998  
  2999          xfs_buf_relse(bp);
  3000          goto error;

These two added lines are unreachable.  Sometimes people add dead code
for later, so this might be intentional.  It's not clear.

  3001  }

regards,
dan carpenter

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-09-11 22:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-11 21:18 xfs: recovery of swap extents operations for CRC filesystems Dan Carpenter
2013-09-11  2:19 ` Dave Chinner
2013-09-11 22:44   ` Mark Tinguely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox