]> git.baikalelectronics.ru Git - kernel.git/commit
target/tcm_fc: return detailed error in ft_sess_create()
authorHannes Reinecke <hare@suse.de>
Mon, 22 Aug 2016 08:54:09 +0000 (10:54 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 21 Oct 2016 08:19:42 +0000 (01:19 -0700)
commit9b10d71948292ccc71b9ac16ea172c73c3df006f
treeef7c0297470b03dffb8f9490f86ea963c28c1604
parent0b367cabe71767677ae1e2e8b000097ba81754ac
target/tcm_fc: return detailed error in ft_sess_create()

Not every failure is due to out-of-memory; the ACLs might not be
set, too. So return a detailed error code in ft_sess_create()
instead of just a NULL pointer.

Signed-off-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/tcm_fc/tfc_sess.c