summaryrefslogtreecommitdiffstats
path: root/fs/smbfs
diff options
context:
space:
mode:
authorMatthew Wilcox2007-12-06 22:25:30 +0100
committerMatthew Wilcox2007-12-06 23:40:31 +0100
commit2dfe485a2c8afa54cb069fcf48476f6c90ea3fdf (patch)
tree18e40dae13cd94f3c47fd65dddb909eb3f87197a /fs/smbfs
parentNFS: Switch from intr mount option to TASK_KILLABLE (diff)
downloadkernel-qcow2-linux-2dfe485a2c8afa54cb069fcf48476f6c90ea3fdf.tar.gz
kernel-qcow2-linux-2dfe485a2c8afa54cb069fcf48476f6c90ea3fdf.tar.xz
kernel-qcow2-linux-2dfe485a2c8afa54cb069fcf48476f6c90ea3fdf.zip
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>
Diffstat (limited to 'fs/smbfs')
-rw-r--r--fs/smbfs/request.c2
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)
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();