)]}'
{
  "commit": "31d1d48e199e99077fb30f6fb9a793be7bec756f",
  "tree": "7f9dddbd89030765f6544e5820c401849193dca8",
  "parents": [
    "1e456a124353a753e9d1fadfbf5cd459c2f197ae"
  ],
  "author": {
    "name": "David Howells",
    "email": "dhowells@redhat.com",
    "time": "Fri Aug 06 16:34:43 2010 +0100"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Fri Aug 06 09:17:02 2010 -0700"
  },
  "message": "Fix init ordering of /dev/console vs callers of modprobe\n\nMake /dev/console get initialised before any initialisation routine that\ninvokes modprobe because if modprobe fails, it\u0027s going to want to open\n/dev/console, presumably to write an error message to.\n\nThe problem with that is that if the /dev/console driver is not yet\ninitialised, the chardev handler will call request_module() to invoke\nmodprobe, which will fail, because we never compile /dev/console as a\nmodule.\n\nThis will lead to a modprobe loop, showing the following in the kernel\nlog:\n\n\trequest_module: runaway loop modprobe char-major-5-1\n\trequest_module: runaway loop modprobe char-major-5-1\n\trequest_module: runaway loop modprobe char-major-5-1\n\trequest_module: runaway loop modprobe char-major-5-1\n\trequest_module: runaway loop modprobe char-major-5-1\n\nThis can happen, for example, when the built in md5 module can\u0027t find\nthe built in cryptomgr module (because the latter fails to initialise).\nThe md5 module comes before the call to tty_init(), presumably because\n\u0027crypto\u0027 comes before \u0027drivers\u0027 alphabetically.\n\nFix this by calling tty_init() from chrdev_init().\n\nSigned-off-by: David Howells \u003cdhowells@redhat.com\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f54dab8acdcd6561c742b0541afdae3828dedfd9",
      "old_mode": 33188,
      "old_path": "drivers/char/mem.c",
      "new_id": "a398ecdbd758058104e81223f1cbdfe7057e9a4b",
      "new_mode": 33188,
      "new_path": "drivers/char/mem.c"
    },
    {
      "type": "modify",
      "old_id": "d71f0fc34b467c6e7a7c25c0762321f90b7e3fa0",
      "old_mode": 33188,
      "old_path": "drivers/char/tty_io.c",
      "new_id": "507441ac6edbcdb9c8fcb58da5d0ba34383eadbc",
      "new_mode": 33188,
      "new_path": "drivers/char/tty_io.c"
    },
    {
      "type": "modify",
      "old_id": "d6db933df2b27ce43c0fe31d6e35bb0968598891",
      "old_mode": 33188,
      "old_path": "fs/char_dev.c",
      "new_id": "f80a4f25123c3fa912daa1eb4080e69dab3d58fb",
      "new_mode": 33188,
      "new_path": "fs/char_dev.c"
    },
    {
      "type": "modify",
      "old_id": "931078b73226a729f62b82938747c940b1593084",
      "old_mode": 33188,
      "old_path": "include/linux/tty.h",
      "new_id": "7802a243ee1372dfff07f1dd6c2b294abeddfb9c",
      "new_mode": 33188,
      "new_path": "include/linux/tty.h"
    }
  ]
}
