)]}'
{
  "commit": "cc6f67bcafcb6bbbb2d1be1603dcd95125a52800",
  "tree": "0d3cb24661ad0c375540791ec24c6fc80760f5b3",
  "parents": [
    "d377c5eb54dd05aeb3094b7740252d19ba7791f7"
  ],
  "author": {
    "name": "Miklos Szeredi",
    "email": "mszeredi@suse.cz",
    "time": "Tue May 19 14:30:12 2015 +0200"
  },
  "committer": {
    "name": "Miklos Szeredi",
    "email": "mszeredi@suse.cz",
    "time": "Tue May 19 14:30:12 2015 +0200"
  },
  "message": "ovl: mount read-only if workdir can\u0027t be created\n\nOpenWRT folks reported that overlayfs fails to mount if upper fs is full,\nbecause workdir can\u0027t be created.  Wordir creation can fail for various\nother reasons too.\n\nThere\u0027s no reason that the mount itself should fail, overlayfs can work\nfine without a workdir, as long as the overlay isn\u0027t modified.\n\nSo mount it read-only and don\u0027t allow remounting read-write.\n\nAdd a couple of WARN_ON()s for the impossible case of workdir being used\ndespite being read-only.\n\nReported-by: Bastian Bittorf \u003cbittorf@bluebottle.com\u003e \nSigned-off-by: Miklos Szeredi \u003cmszeredi@suse.cz\u003e\nCc: \u003cstable@vger.kernel.org\u003e # v3.18+\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "24f640441bd90977a079aac782768025c68f3712",
      "old_mode": 33188,
      "old_path": "fs/overlayfs/copy_up.c",
      "new_id": "84d693d374284b580208fec3b8eb3c57bdd4195c",
      "new_mode": 33188,
      "new_path": "fs/overlayfs/copy_up.c"
    },
    {
      "type": "modify",
      "old_id": "2578a0c0677dd718503b3bfaa41c430efdd88220",
      "old_mode": 33188,
      "old_path": "fs/overlayfs/dir.c",
      "new_id": "692ceda3bc21f6976b65f3e2d5aa4b7ef2e9c5e8",
      "new_mode": 33188,
      "new_path": "fs/overlayfs/dir.c"
    },
    {
      "type": "modify",
      "old_id": "5f0d1993e6e3952bda9352d231e8fce7dee838e8",
      "old_mode": 33188,
      "old_path": "fs/overlayfs/super.c",
      "new_id": "bf8537c7f455207830046a50d67d394f86d37f4a",
      "new_mode": 33188,
      "new_path": "fs/overlayfs/super.c"
    }
  ]
}
