|
@@ -1791,6 +1791,11 @@ static ssize_t do_generic_file_read(struct file *filp, loff_t *ppos,
|
|
|
|
|
|
cond_resched();
|
|
cond_resched();
|
|
find_page:
|
|
find_page:
|
|
|
|
+ if (fatal_signal_pending(current)) {
|
|
|
|
+ error = -EINTR;
|
|
|
|
+ goto out;
|
|
|
|
+ }
|
|
|
|
+
|
|
page = find_get_page(mapping, index);
|
|
page = find_get_page(mapping, index);
|
|
if (!page) {
|
|
if (!page) {
|
|
page_cache_sync_readahead(mapping,
|
|
page_cache_sync_readahead(mapping,
|