Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Al Viro and committed by
Robert Love
4f670ff8 b8b3e697

+1 -5
+1 -5
drivers/scsi/fcoe/fcoe_transport.c
··· 962 962 dev_put(netdev); 963 963 out_nodev: 964 964 mutex_unlock(&ft_mutex); 965 - 966 - if (rc == -ERESTARTSYS) 967 - return restart_syscall(); 968 - else 969 - return rc; 965 + return rc; 970 966 } 971 967 972 968 /**