diff options
| author | Alex Shi <alex.shi@linaro.org> | 2017-02-10 12:00:58 +0800 |
|---|---|---|
| committer | Alex Shi <alex.shi@linaro.org> | 2017-02-10 12:00:58 +0800 |
| commit | fd0d0fd17f47e0015e5be2a1e58434144a5f99e0 (patch) | |
| tree | f2cb780174ccdee6d1a95fd421ef7bcf1dd4be1c /mm/filemap.c | |
| parent | d69f58e2b8396658b7577113f9887bd4d66d25f8 (diff) | |
| parent | 6a1bd90632464c129ad5f9ca7c54917a6dd7cb4b (diff) | |
Merge tag 'v4.4.48' into linux-linaro-lsk-v4.4
This is the 4.4.48 stable release
Diffstat (limited to 'mm/filemap.c')
| -rw-r--r-- | mm/filemap.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mm/filemap.c b/mm/filemap.c index c588d1222b2a..c33c31d75a2b 100644 --- a/mm/filemap.c +++ b/mm/filemap.c @@ -1559,6 +1559,11 @@ static ssize_t do_generic_file_read(struct file *filp, loff_t *ppos, cond_resched(); find_page: + if (fatal_signal_pending(current)) { + error = -EINTR; + goto out; + } + page = find_get_page(mapping, index); if (!page) { page_cache_sync_readahead(mapping, |
