)]}'
{
  "commit": "4480e0f924a42e1db8b8cfcac4d0634dd1bb27a0",
  "tree": "5e0994975c31722ab0de1a8178579e2d3cb299e5",
  "parents": [
    "f91cbefe2d0eb3f7b5071bcb1fd3a02970f1a776"
  ],
  "author": {
    "name": "Markus Armbruster",
    "email": "armbru@redhat.com",
    "time": "Tue Jul 10 11:12:29 2012 +0200"
  },
  "committer": {
    "name": "Kevin Wolf",
    "email": "kwolf@redhat.com",
    "time": "Tue Jul 17 16:48:30 2012 +0200"
  },
  "message": "vvfat: Do not clobber the user\u0027s geometry\n\nvvfat creates a virtual VFAT filesystem with a certain logical\ngeometry that depends on its options.  It sets the \"geometry hint\" to\nthis geometry.  It is the only block driver to do this.\n\nThe geometry hint is about about *physical* geometry, and used only by\ncertain hard disk device models.\n\nvvfat\u0027s hint is normally invisible for device models, because\nbdrv_open() puts a raw format on top of vvfat\u0027s fat protocol.  That\nraw format is where drive_init() puts the user\u0027s geometry (if any),\nand where the device model gets it from.\n\nNobody complained, because the default physical geometry is the same\nas vvfat\u0027s logical geometry:\n\n    opts        LCHS        def. PCHS\n                1024,16,63  same\n    :32:        1024,16,63  same\n    :16:        1024,16,63  same\n    :12:          64,16,63  same\n\nExcept when you specify :floppy:\n\n    opts        LCHS        def. PCHS\n       :floppy:   80, 2,36  5,16,63\n    :32:floppy:   80, 2,36  5,16,63\n    :16:floppy:   80, 2,36  5,16,63\n    :12:floppy:   80, 2,18  2,16,63\n\nSilly thing to do for use with a hard disk.\n\nHowever, the \"raw\" format can be suppressed by adding an\nredundant-looking \"format\u003dvvfat\" to \"file\u003dfat:FOO\".  Then, vvfat\u0027s\nhint clobbers the user\u0027s geometry, i.e. -drive options cyls, heads,\nsecs get silently ignored.  Don\u0027t do that.\n\nNo change without format\u003dvvfat.  With it, the user\u0027s hard disk\ngeometry (-drive options cyls, heads, secs) is now obeyed, and the\ndefault hard disk geometry with :floppy: now matches the one without\nformat\u003dvvfat.\n\nSigned-off-by: Markus Armbruster \u003carmbru@redhat.com\u003e\nSigned-off-by: Kevin Wolf \u003ckwolf@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e2b83a21a009c0a4e724246be37c775d034a281f",
      "old_mode": 33188,
      "old_path": "block/vvfat.c",
      "new_id": "7b1dcee144ac429bcfea72e51a7155e91a1463c7",
      "new_mode": 33188,
      "new_path": "block/vvfat.c"
    }
  ]
}
