public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* question about xfs_alloc_fix_freelist()
@ 2008-05-02 21:01 Michael Nishimoto
  2008-05-04 23:50 ` David Chinner
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Nishimoto @ 2008-05-02 21:01 UTC (permalink / raw)
  To: xfs


The following code can be found near the end of xfs_alloc_fix_freelist:

                if (targs.agbno == NULLAGBLOCK) {
                        if (flags & XFS_ALLOC_FLAG_FREEING)
                                break;
                        xfs_trans_brelse(tp, agflbp);
                        args->agbp = NULL;
                        return 0;
                }

Don't we need to release agbp too by calling xfs_trans_brelse(tp, agbp)?

   Michael



[[HTML alternate version deleted]]

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

end of thread, other threads:[~2008-05-07  8:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-02 21:01 question about xfs_alloc_fix_freelist() Michael Nishimoto
2008-05-04 23:50 ` David Chinner
2008-05-06 21:21   ` Michael Nishimoto
2008-05-07  5:31     ` David Chinner
2008-05-07  7:16       ` Michael Nishimoto
2008-05-07  8:44         ` David Chinner

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