You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
target: make close_session optional
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
This commit is contained in:
committed by
Nicholas Bellinger
parent
22d11759a4
commit
36ec2ddc0d
@@ -385,10 +385,6 @@ static int target_fabric_tf_ops_check(const struct target_core_fabric_ops *tfo)
|
||||
pr_err("Missing tfo->release_cmd()\n");
|
||||
return -EINVAL;
|
||||
}
|
||||
if (!tfo->close_session) {
|
||||
pr_err("Missing tfo->close_session()\n");
|
||||
return -EINVAL;
|
||||
}
|
||||
if (!tfo->sess_get_index) {
|
||||
pr_err("Missing tfo->sess_get_index()\n");
|
||||
return -EINVAL;
|
||||
|
||||
Reference in New Issue
Block a user