]> git.hungrycats.org Git - linux/commit
[PATCH] fix read_dir()
authorAndrew Morton <akpm@osdl.org>
Fri, 1 Aug 2003 03:09:49 +0000 (20:09 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Fri, 1 Aug 2003 03:09:49 +0000 (20:09 -0700)
commit7a6fbd69ea8e85797971ccdd7551ca7ed483e288
tree2130b58727728a14328e852d3f6124fa51e75ecd
parentb84ee08e94334263cb96428542dfbcacca75072b
[PATCH] fix read_dir()

This function tries to allocate increasingly large buffers, but it gets the
bounds wrong by a factor of PAGE_SIZE.  It causes boot-time devfs mounting
to fail.
init/do_mounts_devfs.c