diff options
-rw-r--r-- | fs/smbfs/request.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/smbfs/request.c b/fs/smbfs/request.c index ca4b2d59c0ca..45f45933e862 100644 --- a/fs/smbfs/request.c +++ b/fs/smbfs/request.c | |||
@@ -105,7 +105,7 @@ struct smb_request *smb_alloc_request(struct smb_sb_info *server, int bufsize) | |||
105 | if (nfs_try_to_free_pages(server)) | 105 | if (nfs_try_to_free_pages(server)) |
106 | continue; | 106 | continue; |
107 | 107 | ||
108 | if (signalled() && (server->flags & NFS_MOUNT_INTR)) | 108 | if (fatal_signal_pending(current)) |
109 | return ERR_PTR(-ERESTARTSYS); | 109 | return ERR_PTR(-ERESTARTSYS); |
110 | current->policy = SCHED_YIELD; | 110 | current->policy = SCHED_YIELD; |
111 | schedule(); | 111 | schedule(); |