|
@@ -1254,7 +1254,7 @@ xfs_mountfs(
|
|
|
* Allocate and initialize the per-ag data.
|
|
|
*/
|
|
|
spin_lock_init(&mp->m_perag_lock);
|
|
|
- INIT_RADIX_TREE(&mp->m_perag_tree, GFP_NOFS);
|
|
|
+ INIT_RADIX_TREE(&mp->m_perag_tree, GFP_ATOMIC);
|
|
|
error = xfs_initialize_perag(mp, sbp->sb_agcount, &mp->m_maxagi);
|
|
|
if (error) {
|
|
|
cmn_err(CE_WARN, "XFS: Failed per-ag init: %d", error);
|