commit | c7d6a803926bae9bbf4510a18fc8dd8957cc0e01 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon Apr 13 19:51:14 2015 +0200 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Sat May 30 22:41:51 2015 -0700 |
tree | ae0859fb2d4d955c4249434307e29e690bec85bd | |
parent | e1750d20e69477c0d7b26d6e0ba24c3c9ec47530 [diff] |
target: refactor init/drop_nodeacl methods By always allocating and adding, respectively removing and freeing the se_node_acl structure in core code we can remove tons of repeated code in the init_nodeacl and drop_nodeacl routines. Additionally this now respects the get_default_queue_depth method in this code path as well. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>