)]}'
{
  "commit": "d8b2fa657deaa73ff70d40aea9a54997fc0c7fc9",
  "tree": "86687af68f31040dc21d90e837c2d4e9ef644f70",
  "parents": [
    "4658d87cb38cb3ab3a234d1b8d63f65df4cce62b"
  ],
  "author": {
    "name": "Fuqian Huang",
    "email": "huangfq.daxian@gmail.com",
    "time": "Thu Jul 11 20:53:19 2019 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Fri Jul 12 11:05:41 2019 -0700"
  },
  "message": "ocfs2: use kmemdup rather than duplicating its implementation\n\nkmemdup is introduced to duplicate a region of memory in a neat way.\n\nRather than kmalloc/kzalloc + memcpy, which the programmer needs to\nwrite the size twice (sometimes lead to mistakes), kmemdup improves\nreadability, leads to smaller code and also reduce the chances of\nmistakes.\n\nSuggestion to use kmemdup rather than using kmalloc/kzalloc + memcpy.\n\n[akpm@linux-foundation.org: coding style fixes]\nLink: http://lkml.kernel.org/r/20190703163147.881-1-huangfq.daxian@gmail.com\nSigned-off-by: Fuqian Huang \u003chuangfq.daxian@gmail.com\u003e\nReviewed-by: Joseph Qi \u003cjoseph.qi@linux.alibaba.com\u003e\nCc: Mark Fasheh \u003cmark@fasheh.com\u003e\nCc: Joel Becker \u003cjlbec@evilplan.org\u003e\nCc: Junxiao Bi \u003cjunxiao.bi@oracle.com\u003e\nCc: Changwei Ge \u003cgechangwei@live.cn\u003e\nCc: Gang He \u003cghe@suse.com\u003e\nCc: Jun Piao \u003cpiaojun@huawei.com\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d1348fc4ca6ddbeb8aa66968819a4d8e245ab7e3",
      "old_mode": 33188,
      "old_path": "fs/ocfs2/alloc.c",
      "new_id": "0c335b51043dcf922e7c71d66a532f424131037d",
      "new_mode": 33188,
      "new_path": "fs/ocfs2/alloc.c"
    },
    {
      "type": "modify",
      "old_id": "f03674afbd30ed3a737a8e5747fa8e25f7c79bb5",
      "old_mode": 33188,
      "old_path": "fs/ocfs2/localalloc.c",
      "new_id": "158e5af767fd11119b39947586cdb364f4c6a6d2",
      "new_mode": 33188,
      "new_path": "fs/ocfs2/localalloc.c"
    }
  ]
}
