diff options
Diffstat (limited to 'fs/xfs/xfs_alloc.c')
-rw-r--r-- | fs/xfs/xfs_alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_alloc.c b/fs/xfs/xfs_alloc.c index facdae14edd0..1956f83489f1 100644 --- a/fs/xfs/xfs_alloc.c +++ b/fs/xfs/xfs_alloc.c | |||
@@ -838,7 +838,7 @@ xfs_alloc_ag_vextent_near( | |||
838 | XFS_WANT_CORRUPTED_GOTO(i == 1, error0); | 838 | XFS_WANT_CORRUPTED_GOTO(i == 1, error0); |
839 | xfs_alloc_compute_aligned(ltbno, ltlen, args->alignment, | 839 | xfs_alloc_compute_aligned(ltbno, ltlen, args->alignment, |
840 | args->minlen, <bnoa, <lena); | 840 | args->minlen, <bnoa, <lena); |
841 | if (ltlena >= args->minlen) | 841 | if (ltlena < args->minlen) |
842 | continue; | 842 | continue; |
843 | args->len = XFS_EXTLEN_MIN(ltlena, args->maxlen); | 843 | args->len = XFS_EXTLEN_MIN(ltlena, args->maxlen); |
844 | xfs_alloc_fix_len(args); | 844 | xfs_alloc_fix_len(args); |