Remove commented-out code copied from NFS
authorMatthew Wilcox <matthew@wil.cx>
Thu, 6 Dec 2007 21:25:30 +0000 (16:25 -0500)
committerMatthew Wilcox <willy@linux.intel.com>
Thu, 6 Dec 2007 22:40:31 +0000 (17:40 -0500)
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>
fs/smbfs/request.c

index ca4b2d59c0ca6f501ff11466af81a6111a182afc..45f45933e86279126f1f349b2381563c102d0559 100644 (file)
@@ -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();