]> Pileus Git - ~andy/linux/blobdiff - fs/xfs/xfs_itable.c
[XFS] Don't block pdflush when writing back inodes
[~andy/linux] / fs / xfs / xfs_itable.c
index f615e04364f47238c09f22d67a7fa74fe3548ba0..45d8776408ef2a4f0829c25caf9130adf6e57169 100644 (file)
@@ -614,7 +614,8 @@ xfs_bulkstat(
                                                        xfs_buf_relse(bp);
                                                error = xfs_itobp(mp, NULL, ip,
                                                                &dip, &bp, bno,
-                                                               XFS_IMAP_BULKSTAT);
+                                                               XFS_IMAP_BULKSTAT,
+                                                               XFS_BUF_LOCK);
                                                if (!error)
                                                        clustidx = ip->i_boffset / mp->m_sb.sb_inodesize;
                                                kmem_zone_free(xfs_inode_zone, ip);