)]}'
{
  "commit": "28e35e42fb255cbaeee8b9f89643f26fe376374d",
  "tree": "db83cfc348e1ff652aea17eff6ff4eb07d8cd8a9",
  "parents": [
    "f6d2f6b327ceef5c689581529a852dc6ec3b74a6"
  ],
  "author": {
    "name": "Tao Ma",
    "email": "boyu.mt@taobao.com",
    "time": "Sun May 22 21:45:26 2011 -0400"
  },
  "committer": {
    "name": "Theodore Ts\u0027o",
    "email": "tytso@mit.edu",
    "time": "Sun May 22 21:45:26 2011 -0400"
  },
  "message": "jbd2: Fix the wrong calculation of t_max_wait in update_t_max_wait\n\nt_max_wait is added in commit 8e85fb3f to indicate how long we\nwere waiting for new transaction to start. In commit 6d0bf005,\nit is moved to another function named update_t_max_wait to\navoid a build warning. But the wrong thing is that the original\n\u0027ts\u0027 is initialized in the start of function start_this_handle\nand we can calculate t_max_wait in the right way. while with\nthis change, ts is initialized within the function and t_max_wait\ncan never be calculated right.\n\nThis patch moves the initialization of ts to the original beginning\nof start_this_handle and pass it to function update_t_max_wait so\nthat it can be calculated right and the build warning is avoided also.\n\nCc: Jan Kara \u003cjack@suse.cz\u003e\nSigned-off-by: Tao Ma \u003cboyu.mt@taobao.com\u003e\nSigned-off-by: \"Theodore Ts\u0027o\" \u003ctytso@mit.edu\u003e\nReviewed-by: Eric Sandeen \u003csandeen@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "05fa77a23711f8db041cac46984452451daae70c",
      "old_mode": 33188,
      "old_path": "fs/jbd2/transaction.c",
      "new_id": "85a055ef93fedb138e44918227426abd3f34eb46",
      "new_mode": 33188,
      "new_path": "fs/jbd2/transaction.c"
    }
  ]
}
