mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-10-04 08:02:24 +00:00
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>
This commit is contained in:
parent
150030b78a
commit
2dfe485a2c
@ -105,7 +105,7 @@ struct smb_request *smb_alloc_request(struct smb_sb_info *server, int bufsize)
|
|||||||
if (nfs_try_to_free_pages(server))
|
if (nfs_try_to_free_pages(server))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (signalled() && (server->flags & NFS_MOUNT_INTR))
|
if (fatal_signal_pending(current))
|
||||||
return ERR_PTR(-ERESTARTSYS);
|
return ERR_PTR(-ERESTARTSYS);
|
||||||
current->policy = SCHED_YIELD;
|
current->policy = SCHED_YIELD;
|
||||||
schedule();
|
schedule();
|
||||||
|
Loading…
Reference in New Issue
Block a user