diff options
author | Ingo Molnar <mingo@kernel.org> | 2018-07-03 10:20:22 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2018-07-03 10:20:22 +0300 |
commit | 4520843dfa34417eb1e2061f60d2345d9ca614e1 (patch) | |
tree | 7b983b8cf20c6154cf897000610c5b7c754e26d9 /fs/xfs/xfs_fsops.c | |
parent | 03585a95cd830e7a92697d2a8fe9a34df87563db (diff) | |
parent | 1cef1150ef40ec52f507436a14230cbc2623299c (diff) | |
download | linux-4520843dfa34417eb1e2061f60d2345d9ca614e1.tar.xz |
Merge branch 'sched/urgent' into sched/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_fsops.c')
-rw-r--r-- | fs/xfs/xfs_fsops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_fsops.c b/fs/xfs/xfs_fsops.c index a7afcad6b711..3f2bd6032cf8 100644 --- a/fs/xfs/xfs_fsops.c +++ b/fs/xfs/xfs_fsops.c @@ -387,7 +387,7 @@ xfs_reserve_blocks( do { free = percpu_counter_sum(&mp->m_fdblocks) - mp->m_alloc_set_aside; - if (!free) + if (free <= 0) break; delta = request - mp->m_resblks; |