)]}'
{
  "commit": "7beaf243787f85a2ef9213ccf13ab4a243283fde",
  "tree": "689e5a447ee2b7b83fcaccf2959ca8dd5b0fb359",
  "parents": [
    "6d98c3ccb52f692f1a60339dde7c700686a5568b"
  ],
  "author": {
    "name": "Srinivas Eeda",
    "email": "srinivas.eeda@oracle.com",
    "time": "Mon Jul 19 16:04:12 2010 -0700"
  },
  "committer": {
    "name": "Joel Becker",
    "email": "joel.becker@oracle.com",
    "time": "Sat Aug 07 10:44:40 2010 -0700"
  },
  "message": "ocfs2 fix o2dlm dlm run purgelist (rev 3)\n\nThis patch fixes two problems in dlm_run_purgelist\n\n1. If a lockres is found to be in use, dlm_run_purgelist keeps trying to purge\nthe same lockres instead of trying the next lockres.\n\n2. When a lockres is found unused, dlm_run_purgelist releases lockres spinlock\nbefore setting DLM_LOCK_RES_DROPPING_REF and calls dlm_purge_lockres.\nspinlock is reacquired but in this window lockres can get reused. This leads\nto BUG.\n\nThis patch modifies dlm_run_purgelist to skip lockres if it\u0027s in use and purge\n next lockres. It also sets DLM_LOCK_RES_DROPPING_REF before releasing the\nlockres spinlock protecting it from getting reused.\n\nSigned-off-by: Srinivas Eeda \u003csrinivas.eeda@oracle.com\u003e\nAcked-by: Sunil Mushran \u003csunil.mushran@oracle.com\u003e\nCc: stable@kernel.org\nSigned-off-by: Joel Becker \u003cjoel.becker@oracle.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d4f73ca68fe5c325b0b768024dd84db1e1062a59",
      "old_mode": 33188,
      "old_path": "fs/ocfs2/dlm/dlmthread.c",
      "new_id": "dd78ca3f360fe1c984ab64b01d55f06b2c5629dc",
      "new_mode": 33188,
      "new_path": "fs/ocfs2/dlm/dlmthread.c"
    }
  ]
}
