summaryrefslogtreecommitdiff
path: root/fs/autofs4
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2007-08-23 01:01:53 +0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-08-23 06:52:46 +0400
commitf4768ffd1d4b7b07ae2c4c3d93c9f99cd68e996c (patch)
tree09c2e345501370a3462331a2b9de3afe6afb0bd6 /fs/autofs4
parenta88aa7865bc1d1d451af2d585ac0119164ce8e00 (diff)
downloadlinux-f4768ffd1d4b7b07ae2c4c3d93c9f99cd68e996c.tar.xz
uml: fix previous request size limit fix
The previous patch which limited the number of sectors in a single request to a COWed device was correct in concept, but the limit was implemented in the wrong place. By putting it in ubd_add, it covered the cases where the COWing was specified on the command line. However, when the command line only has the COW file specified, the fact that it's a COW file isn't known until it's opened, so the limit is missed in these cases. This patch moves the sector limit from ubd_add to ubd_open_dev. Signed-off-by: Jeff Dike <jdike@linux.intel.com> Cc: <stable@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/autofs4')
0 files changed, 0 insertions, 0 deletions