xfs
[Top] [All Lists]

[PATCH 3/14] xfsprogs: pull in the rest of 93848a999cf

To: xfs@xxxxxxxxxxx
Subject: [PATCH 3/14] xfsprogs: pull in the rest of 93848a999cf
From: Ben Myers <bpm@xxxxxxx>
Date: Thu, 8 Aug 2013 16:13:52 -0500
Cc: Eric Sandeen <sandeen@xxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <20130808210600.GN3111@xxxxxxx>
References: <1370564771-4929-1-git-send-email-david@xxxxxxxxxxxxx> <20130806214154.GM3111@xxxxxxx> <20130808210600.GN3111@xxxxxxx>
User-agent: Mutt/1.5.20 (2009-06-14)
XXX Maybe I missed some more...

---
 libxfs/xfs_ialloc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: b/libxfs/xfs_ialloc.c
===================================================================
--- a/libxfs/xfs_ialloc.c       2013-08-06 11:25:54.400817879 -0500
+++ b/libxfs/xfs_ialloc.c       2013-08-06 11:26:32.420897946 -0500
@@ -204,7 +204,7 @@ xfs_ialloc_inode_init(
                 *      individual transactions causing a lot of log traffic.
                 */
                fbuf->b_ops = &xfs_inode_buf_ops;
-               xfs_buf_zero(fbuf, 0, ninodes << mp->m_sb.sb_inodelog);
+               xfs_buf_zero(fbuf, 0, BBTOB(fbuf->b_length));
                for (i = 0; i < ninodes; i++) {
                        int     ioffset = i << mp->m_sb.sb_inodelog;
                        uint    isize = xfs_dinode_size(version);

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