commit | da0f7619913751d45fc3cda652789379f4f435fb | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@infradead.org> | Tue Oct 18 06:57:01 2011 -0400 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Mon Oct 24 03:21:57 2011 +0000 |
tree | a719ef4746505d51d13a1997de93ab5466db2687 | |
parent | 7c1c6af37af69a4ac4a6485c968496d257245b5d [diff] |
target: merge transport_new_cmd_obj into transport_generic_new_cmd These are two fairly small functions, and merging them gives a much more readable control flow, and opportunities for more useful comments. It also moves all code related to resources allocation closer together and allows to remove a forward declaration for transport_allocate_tasks. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>