diff options
Diffstat (limited to 'fs/buffer.c')
-rw-r--r-- | fs/buffer.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/buffer.c b/fs/buffer.c index 44c14a87750e..d1f704806264 100644 --- a/fs/buffer.c +++ b/fs/buffer.c | |||
@@ -2318,6 +2318,11 @@ static int cont_expand_zero(struct file *file, struct address_space *mapping, | |||
2318 | err = 0; | 2318 | err = 0; |
2319 | 2319 | ||
2320 | balance_dirty_pages_ratelimited(mapping); | 2320 | balance_dirty_pages_ratelimited(mapping); |
2321 | |||
2322 | if (unlikely(fatal_signal_pending(current))) { | ||
2323 | err = -EINTR; | ||
2324 | goto out; | ||
2325 | } | ||
2321 | } | 2326 | } |
2322 | 2327 | ||
2323 | /* page covers the boundary, find the boundary offset */ | 2328 | /* page covers the boundary, find the boundary offset */ |