)]}'
{
  "commit": "6320377fd94316e58f75d0be6f6e7a644950a4ee",
  "tree": "7c7b47e6bafae9f25cfd9e1416494b6406c2d0b9",
  "parents": [
    "38ad03de3fd350e683213ddf898a7049534628a8"
  ],
  "author": {
    "name": "Olaf Kirch",
    "email": "olaf.kirch@oracle.com",
    "time": "Thu Dec 13 12:43:25 2007 -0600"
  },
  "committer": {
    "name": "James Bottomley",
    "email": "James.Bottomley@HansenPartnership.com",
    "time": "Fri Jan 11 18:28:27 2008 -0600"
  },
  "message": "[SCSI] libiscsi, iscsi_tcp: iscsi pool cleanup\n\niscsi_pool_init simplified\n\niscsi_pool_init currently has a lot of duplicate kfree() calls it does\nwhen some allocation fails. This patch simplifies the code a little by\nusing iscsi_pool_free to tear down the pool in case of an error.\n\niscsi_pool_init also returns a copy of the item array to the caller.\nNot all callers use this array, so we make it optional.\n\nInstead of allocating a second array and return that, allocate just one\narray, of twice the size.\n\nUpdate users of iscsi_pool_{init,free}\n\nThis patch drops the (now useless) second argument to\niscsi_pool_free, and updates all callers.\n\nIt also removes the ctask-\u003er2ts array, which was never\nused anyway. Since the items argument to iscsi_pool_init\nis now optional, we can pass NULL instead.\n\nSigned-off-by: Olaf Kirch \u003colaf.kirch@oracle.com\u003e\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "491845f187106c9b289f1b20d8fa459243f7ab0a",
      "old_mode": 33188,
      "old_path": "drivers/scsi/iscsi_tcp.c",
      "new_id": "f79a457099e691b61a6dd5923c9db5e20279aa4e",
      "new_mode": 33188,
      "new_path": "drivers/scsi/iscsi_tcp.c"
    },
    {
      "type": "modify",
      "old_id": "eb3784f949fd4df46bcd1b2f01a1e2ec5e0e99ef",
      "old_mode": 33188,
      "old_path": "drivers/scsi/iscsi_tcp.h",
      "new_id": "d49d87611e82fbcf21655cd822b60961cdcd5420",
      "new_mode": 33188,
      "new_path": "drivers/scsi/iscsi_tcp.h"
    },
    {
      "type": "modify",
      "old_id": "59365864c9894c8f09d82d6f2250e96ee3e40a5d",
      "old_mode": 33188,
      "old_path": "drivers/scsi/libiscsi.c",
      "new_id": "d43f909a022c2916e7fe97185809c6e8f826abc9",
      "new_mode": 33188,
      "new_path": "drivers/scsi/libiscsi.c"
    },
    {
      "type": "modify",
      "old_id": "a9a9e869188d36e89bfcaf85251b4e09f5efe2f5",
      "old_mode": 33188,
      "old_path": "include/scsi/libiscsi.h",
      "new_id": "4b3e3c15121a62bc0f99d7f0300aa8ce8cb2aecf",
      "new_mode": 33188,
      "new_path": "include/scsi/libiscsi.h"
    }
  ]
}
