xfs
[Top] [All Lists]

typo in xfs_rtalloc

To: linux-xfs@xxxxxxxxxxx
Subject: typo in xfs_rtalloc
From: "Roger Willcocks" <willcor@xxxxxxxxx>
Date: Mon, 20 Feb 2006 19:38:02 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=LfflbeLRLXViQdQVgQrTOImhbGNtrcA3nkmZT41P5OnCl5u/Vmn5OeECwAqCDnLTOs6d8pmvqC9k9oKoG3JM0UgnXMmfntvJYuBSrdfBT5sp3PUttNHwzlX6AqcQfaqFxDfcCZ6MGpAPeRWU82viuxCdwJDwuEJdLeA6WSg9tss=
Sender: linux-xfs-bounce@xxxxxxxxxxx
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).

--
Roger


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