diff options
Diffstat (limited to 'fs/xfs/libxfs/xfs_alloc.c')
-rw-r--r-- | fs/xfs/libxfs/xfs_alloc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/xfs/libxfs/xfs_alloc.c b/fs/xfs/libxfs/xfs_alloc.c index 857a53e58b94..a9ff3cf82cce 100644 --- a/fs/xfs/libxfs/xfs_alloc.c +++ b/fs/xfs/libxfs/xfs_alloc.c | |||
@@ -2243,6 +2243,9 @@ xfs_alloc_fix_freelist( | |||
2243 | xfs_extlen_t need; /* total blocks needed in freelist */ | 2243 | xfs_extlen_t need; /* total blocks needed in freelist */ |
2244 | int error = 0; | 2244 | int error = 0; |
2245 | 2245 | ||
2246 | /* deferred ops (AGFL block frees) require permanent transactions */ | ||
2247 | ASSERT(tp->t_flags & XFS_TRANS_PERM_LOG_RES); | ||
2248 | |||
2246 | if (!pag->pagf_init) { | 2249 | if (!pag->pagf_init) { |
2247 | error = xfs_alloc_read_agf(mp, tp, args->agno, flags, &agbp); | 2250 | error = xfs_alloc_read_agf(mp, tp, args->agno, flags, &agbp); |
2248 | if (error) | 2251 | if (error) |