debris left by "[SCSI] libfcoe: Remove mutex_trylock/restart_syscall checks"
AFAICS, the situation for fcoe_transport_disable() seems to be the same as for fcoe_transport_enable(). IOW, shouldn't it have restart_syscall() removed as well? I don't see any in-tree ->disable() instances that could return -ERESTARTSYS, anyway... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Robert Love <robert.w.love@intel.com>
This commit is contained in:
parent
b8b3e697d1
commit
4f670ff8eb
1 changed files with 1 additions and 5 deletions
|
@ -962,10 +962,6 @@ out_putdev:
|
||||||
dev_put(netdev);
|
dev_put(netdev);
|
||||||
out_nodev:
|
out_nodev:
|
||||||
mutex_unlock(&ft_mutex);
|
mutex_unlock(&ft_mutex);
|
||||||
|
|
||||||
if (rc == -ERESTARTSYS)
|
|
||||||
return restart_syscall();
|
|
||||||
else
|
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue