)]}'
{
  "commit": "8921d114f5574c6da2cdd00749d185633ecf88f3",
  "tree": "fcbb7ffc4061c9ea0260f5b8643abf3096d7267e",
  "parents": [
    "6740a845b2543cc46e1902ba21bac743fbadd0dc"
  ],
  "author": {
    "name": "Alex Elder",
    "email": "elder@inktank.com",
    "time": "Fri Jun 01 14:56:43 2012 -0500"
  },
  "committer": {
    "name": "Alex Elder",
    "email": "elder@dreamhost.com",
    "time": "Wed Jun 06 09:23:55 2012 -0500"
  },
  "message": "libceph: make ceph_con_revoke_message() a msg op\n\nceph_con_revoke_message() is passed both a message and a ceph\nconnection.  A ceph_msg allocated for incoming messages on a\nconnection always has a pointer to that connection, so there\u0027s no\nneed to provide the connection when revoking such a message.\n\nNote that the existing logic does not preclude the message supplied\nbeing a null/bogus message pointer.  The only user of this interface\nis the OSD client, and the only value an osd client passes is a\nrequest\u0027s r_reply field.  That is always non-null (except briefly in\nan error path in ceph_osdc_alloc_request(), and that drops the\nonly reference so the request won\u0027t ever have a reply to revoke).\nSo we can safely assume the passed-in message is non-null, but add a\nBUG_ON() to make it very obvious we are imposing this restriction.\n\nRename the function ceph_msg_revoke_incoming() to reflect that it is\nreally an operation on an incoming message.\n\nSigned-off-by: Alex Elder \u003celder@inktank.com\u003e\nReviewed-by: Sage Weil \u003csage@inktank.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9008f81c20cd06dc5f54bb8ad444eed25dfc8587",
      "old_mode": 33188,
      "old_path": "include/linux/ceph/messenger.h",
      "new_id": "a334dbd1b32403119a49f4d42ef4ccc06efbe2cb",
      "new_mode": 33188,
      "new_path": "include/linux/ceph/messenger.h"
    },
    {
      "type": "modify",
      "old_id": "d636903ad4b24a58a59399ec149ada768d23307c",
      "old_mode": 33188,
      "old_path": "net/ceph/messenger.c",
      "new_id": "3857f815c0359b0e3800ca12de70a74d3cd9aa8e",
      "new_mode": 33188,
      "new_path": "net/ceph/messenger.c"
    },
    {
      "type": "modify",
      "old_id": "ad78705a4affc8113aa50a85384d85a53079206a",
      "old_mode": 33188,
      "old_path": "net/ceph/osd_client.c",
      "new_id": "c178c770acb4845964efac43782fafd8983670fc",
      "new_mode": 33188,
      "new_path": "net/ceph/osd_client.c"
    }
  ]
}
