ocfs2: add orphan recovery types in ocfs2_recover_orphans
[cascardo/linux.git] / fs / ioctl.c
index 214c3c1..5d01d26 100644 (file)
@@ -379,6 +379,11 @@ int __generic_block_fiemap(struct inode *inode,
                                past_eof = true;
                }
                cond_resched();
+               if (fatal_signal_pending(current)) {
+                       ret = -EINTR;
+                       break;
+               }
+
        } while (1);
 
        /* If ret is 1 then we just hit the end of the extent array */