xfs
[Top] [All Lists]

Re: typo in xfs_rtalloc

To: Roger Willcocks <willcor@xxxxxxxxx>
Subject: Re: typo in xfs_rtalloc
From: Nathan Scott <nathans@xxxxxxx>
Date: Tue, 21 Feb 2006 08:32:52 +1100
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <cfac95650602201138r2bdeb57bvf8348d52a40eded9@mail.gmail.com>; from willcor@gmail.com on Mon, Feb 20, 2006 at 07:38:02PM +0000
References: <cfac95650602201138r2bdeb57bvf8348d52a40eded9@mail.gmail.com>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
On Mon, Feb 20, 2006 at 07:38:02PM +0000, Roger Willcocks wrote:
> Just stumbled across this while looking for something else:
> 
> xfs_rtalloc.c / 2045
> 
>                 /*
>                  * Lock out other callers by grabbing the bitmap inode lock.
>                  */
>                 if ((error = xfs_trans_iget(mp, tp, 0, mp->m_sb.sb_rbmino,
>                                 XFS_ILOCK_EXCL, &ip)))
> 
> the third and fourth arguments to xfs_trans_iget appear to be
> transposed (compared with a similar call fourteen lines later).

Yep - thanks Roger, I'll get that fixed up.

-- 
Nathan


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