Commit 2dfe485a authored by Matthew Wilcox's avatar Matthew Wilcox Committed by Matthew Wilcox

Remove commented-out code copied from NFS

This is a false positive when grepping ... change it to be what the NFS
code looks like now.
Signed-off-by: default avatarMatthew Wilcox <willy@linux.intel.com>
parent 150030b7
......@@ -105,7 +105,7 @@ struct smb_request *smb_alloc_request(struct smb_sb_info *server, int bufsize)
if (nfs_try_to_free_pages(server))
continue;
if (signalled() && (server->flags & NFS_MOUNT_INTR))
if (fatal_signal_pending(current))
return ERR_PTR(-ERESTARTSYS);
current->policy = SCHED_YIELD;
schedule();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment