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: Matthew Wilcox <willy@linux.intel.com>
diff --git a/fs/smbfs/request.c b/fs/smbfs/request.c index ca4b2d5..45f45933 100644 --- a/fs/smbfs/request.c +++ b/fs/smbfs/request.c
@@ -105,7 +105,7 @@ 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();