Message ID | 1414436240-13879-86-git-send-email-kamal@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/fs/buffer.c b/fs/buffer.c index be90719..4252d82 100644 --- a/fs/buffer.c +++ b/fs/buffer.c @@ -2313,6 +2313,11 @@ static int cont_expand_zero(struct file *file, struct address_space *mapping, err = 0; balance_dirty_pages_ratelimited(mapping); + + if (unlikely(fatal_signal_pending(current))) { + err = -EINTR; + goto out; + } } /* page covers the boundary, find the boundary offset */