xfs
[Top] [All Lists]

question about xfs_alloc_fix_freelist()

To: <xfs@xxxxxxxxxxx>
Subject: question about xfs_alloc_fix_freelist()
From: "Michael Nishimoto" <miken@xxxxxxxxx>
Date: Fri, 2 May 2008 14:01:47 -0700
Sender: xfs-bounce@xxxxxxxxxxx
Thread-index: Acisl7xQx+kT//56QqOpiR9uhl4Lcg==
Thread-topic: question about xfs_alloc_fix_freelist()
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]]


<Prev in Thread] Current Thread [Next in Thread>