diff options
author | Christoph Hellwig <hch@infradead.org> | 2011-10-18 06:57:01 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-10-24 03:21:57 +0000 |
commit | da0f7619913751d45fc3cda652789379f4f435fb (patch) | |
tree | a719ef4746505d51d13a1997de93ab5466db2687 /lib/genalloc.c | |
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>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions