| 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> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] fix dir2 shortform structures on ARM old ABI, Eric Sandeen |
|---|---|
| Next by Date: | zrhsitfr@sohu.com诚邀合作!, 万sohu.com |
| Previous by Thread: | Re: [PATCH] fix dir2 shortform structures on ARM old ABI, Eric Sandeen |
| Next by Thread: | Re: question about xfs_alloc_fix_freelist(), David Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |