)]}'
{
  "commit": "7f5aa215088b817add9c71914b83650bdd49f8a9",
  "tree": "9b811d1f0b41a2738fc68654ae605bf5d8cf2a72",
  "parents": [
    "9eddacf9e9c03578ef2c07c9534423e823d677f8"
  ],
  "author": {
    "name": "Jan Kara",
    "email": "jack@suse.cz",
    "time": "Tue Feb 10 11:15:34 2009 -0500"
  },
  "committer": {
    "name": "Theodore Tso",
    "email": "tytso@mit.edu",
    "time": "Tue Feb 10 11:15:34 2009 -0500"
  },
  "message": "jbd2: Avoid possible NULL dereference in jbd2_journal_begin_ordered_truncate()\n\nIf we race with commit code setting i_transaction to NULL, we could\npossibly dereference it.  Proper locking requires the journal pointer\n(to access journal-\u003ej_list_lock), which we don\u0027t have.  So we have to\nchange the prototype of the function so that filesystem passes us the\njournal pointer.  Also add a more detailed comment about why the\nfunction jbd2_journal_begin_ordered_truncate() does what it does and\nhow it should be used.\n\nThanks to Dan Carpenter \u003cerror27@gmail.com\u003e for pointing to the\nsuspitious code.\n\nSigned-off-by: Jan Kara \u003cjack@suse.cz\u003e\nSigned-off-by: \"Theodore Ts\u0027o\" \u003ctytso@mit.edu\u003e\nAcked-by: Joel Becker \u003cjoel.becker@oracle.com\u003e\nCC: linux-ext4@vger.kernel.org\nCC: ocfs2-devel@oss.oracle.com\nCC: mfasheh@suse.de\nCC: Dan Carpenter \u003cerror27@gmail.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "03ba20be132997140e4dcae313dadb865149427e",
      "old_mode": 33188,
      "old_path": "fs/ext4/inode.c",
      "new_id": "658c4a7f2578cd61b5b673166957711323a2af18",
      "new_mode": 33188,
      "new_path": "fs/ext4/inode.c"
    },
    {
      "type": "modify",
      "old_id": "46b4e347ed7d9f3949df7b2b475bda7d7f2b8fef",
      "old_mode": 33188,
      "old_path": "fs/jbd2/transaction.c",
      "new_id": "28ce21d8598e11f16182a973d31d7e8bef83c145",
      "new_mode": 33188,
      "new_path": "fs/jbd2/transaction.c"
    },
    {
      "type": "modify",
      "old_id": "3c3532e1307c838495b60e52d9eb9eada0ab69fd",
      "old_mode": 33188,
      "old_path": "fs/ocfs2/journal.h",
      "new_id": "172850a9a12a7d78cc115e80500979673f4ae7f5",
      "new_mode": 33188,
      "new_path": "fs/ocfs2/journal.h"
    },
    {
      "type": "modify",
      "old_id": "b28b37eb11c626da84e8152f4878b8c593125ec3",
      "old_mode": 33188,
      "old_path": "include/linux/jbd2.h",
      "new_id": "4d248b3f1323d828170a9de92d2aba1db7c5f0f4",
      "new_mode": 33188,
      "new_path": "include/linux/jbd2.h"
    }
  ]
}
