)]}'
{
  "commit": "df698621a5b39ced5ce527444cafd50c6fdc186d",
  "tree": "ae3316d7790e13ac7412309b9ca2ba8dde95c118",
  "parents": [
    "f0e0c09b88b23ec418c065739096e198e8d6be22"
  ],
  "author": {
    "name": "Brian Norris",
    "email": "computersforpeace@gmail.com",
    "time": "Fri Jan 20 20:38:03 2012 -0800"
  },
  "committer": {
    "name": "David Woodhouse",
    "email": "David.Woodhouse@intel.com",
    "time": "Tue Mar 27 00:16:04 2012 +0100"
  },
  "message": "mtd: nand: move SCANLASTPAGE handling to the correct code block\n\nAs nand_default_block_markbad() is becoming more complex, it helps to\nhave code appear only in its relevant codepath(s). Here, the calculation\nof `ofs\u0027 based on NAND_BBT_SCANLASTPAGE is only useful on paths where we\nwrite bad block markers to OOB. We move the condition/calculation closer\nto the `write\u0027 operation and update the comment to more correctly\ndescribe the operation.\n\nThe variable `wr_ofs\u0027 is also used to help isolate our calculation of\nthe \"write\" offset from the usage of `ofs\u0027 to represent the eraseblock\noffset. This will become useful when we reorder operations in the next\npatch.\n\nThis patch should make no functional change.\n\nSigned-off-by: Brian Norris \u003ccomputersforpeace@gmail.com\u003e\nSigned-off-by: Artem Bityutskiy \u003cartem.bityutskiy@linux.intel.com\u003e\nSigned-off-by: David Woodhouse \u003cDavid.Woodhouse@intel.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c6603d4b25c8536efa9c8a44fed7e3aeb25393df",
      "old_mode": 33188,
      "old_path": "drivers/mtd/nand/nand_base.c",
      "new_id": "b90206613108844ad5da9252222ad36245f791d7",
      "new_mode": 33188,
      "new_path": "drivers/mtd/nand/nand_base.c"
    }
  ]
}
