)]}'
{
  "commit": "f1bd66afb14c25095cf6ff499c1388db423acc9e",
  "tree": "9199aab4896fc9ed89213a407942bf4e49232fe0",
  "parents": [
    "8c3067e445fb25119761356c88abc39dacfb9524"
  ],
  "author": {
    "name": "Artem Bityutskiy",
    "email": "Artem.Bityutskiy@nokia.com",
    "time": "Tue Mar 29 18:36:21 2011 +0300"
  },
  "committer": {
    "name": "Artem Bityutskiy",
    "email": "Artem.Bityutskiy@nokia.com",
    "time": "Fri May 13 19:23:54 2011 +0300"
  },
  "message": "UBIFS: improve space checking debugging feature\n\nThis patch improves the \u0027dbg_check_space_info()\u0027 function which checks\nwhether the amount of space before re-mounting and after re-mounting\nis the same (remounting from R/O to R/W modes and vice-versa).\n\nThe problem is that \u0027dbg_check_space_info()\u0027 does not save the budgeting\ninformation before re-mounting, so when an error is reported, we do not\nknow why the amount of free space changed.\n\nThis patches makes the following changes:\n\n1. Teaches \u0027dbg_dump_budg()\u0027 function to accept a \u0027struct ubifs_budg_info\u0027\n   argument and print out the this argument. This way we may ask it to\n   print any saved budgeting info, no only the current one.\n2. Accordingly changes all the callers of \u0027dbg_dump_budg()\u0027 to comply with\n   the changed interface.\n3. Introduce a \u0027saved_bi\u0027 (saved budgeting info) field to\n   \u0027struct ubifs_debug_info\u0027 and save the budgeting info before re-mounting\n   there.\n4. Change \u0027dbg_check_space_info()\u0027 and make it print both old and new\n   budgeting information.\n5. Additionally, save \u0027c-\u003eigx_gc_cnt\u0027 and print it if and error happens. This\n   value contributes to the amount of free space, so we have to print it.\n\nSigned-off-by: Artem Bityutskiy \u003cArtem.Bityutskiy@nokia.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8e8bba937331839cf6059c196002b291fe35dff5",
      "old_mode": 33188,
      "old_path": "fs/ubifs/debug.c",
      "new_id": "546ad575b660f0aeff7222acaa4f97a9ee674448",
      "new_mode": 33188,
      "new_path": "fs/ubifs/debug.c"
    },
    {
      "type": "modify",
      "old_id": "e6493cac193d60d92c6e3e72d743d03f46a5796d",
      "old_mode": 33188,
      "old_path": "fs/ubifs/debug.h",
      "new_id": "6b5fe7ba02960bd2aae8cae0a2f3a81f49335ab6",
      "new_mode": 33188,
      "new_path": "fs/ubifs/debug.h"
    },
    {
      "type": "modify",
      "old_id": "65d485fc1eeb92f35604e332478912db5217fd2d",
      "old_mode": 33188,
      "old_path": "fs/ubifs/journal.c",
      "new_id": "ce55a4807cdc4318d5f2b856e3db70bfb176326f",
      "new_mode": 33188,
      "new_path": "fs/ubifs/journal.c"
    },
    {
      "type": "modify",
      "old_id": "a0aa95117ea1a249d1804ac3fa9800ae764266e6",
      "old_mode": 33188,
      "old_path": "fs/ubifs/super.c",
      "new_id": "407c064fb1c1bda0fb4fedf922d4973c259b957b",
      "new_mode": 33188,
      "new_path": "fs/ubifs/super.c"
    },
    {
      "type": "modify",
      "old_id": "66f066de2c570fc22ed4b5adc7dbba4464564805",
      "old_mode": 33188,
      "old_path": "fs/ubifs/tnc_commit.c",
      "new_id": "c471b06798c8e103e5c95fc0f213f980c8ef0029",
      "new_mode": 33188,
      "new_path": "fs/ubifs/tnc_commit.c"
    }
  ]
}
