diff options
Diffstat (limited to 'fs/ioctl.c')
| -rw-r--r-- | fs/ioctl.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/ioctl.c b/fs/ioctl.c index 214c3c11fbc2..5d01d2638ca5 100644 --- a/fs/ioctl.c +++ b/fs/ioctl.c | |||
| @@ -379,6 +379,11 @@ int __generic_block_fiemap(struct inode *inode, | |||
| 379 | past_eof = true; | 379 | past_eof = true; |
| 380 | } | 380 | } |
| 381 | cond_resched(); | 381 | cond_resched(); |
| 382 | if (fatal_signal_pending(current)) { | ||
| 383 | ret = -EINTR; | ||
| 384 | break; | ||
| 385 | } | ||
| 386 | |||
| 382 | } while (1); | 387 | } while (1); |
| 383 | 388 | ||
| 384 | /* If ret is 1 then we just hit the end of the extent array */ | 389 | /* If ret is 1 then we just hit the end of the extent array */ |
