]> git.neil.brown.name Git - history.git/commit
[PATCH] reduce stack usage in cdrom/optcd.c
authorRandy Dunlap <randy.dunlap@verizon.net>
Tue, 1 Apr 2003 12:54:02 +0000 (04:54 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Tue, 1 Apr 2003 12:54:02 +0000 (04:54 -0800)
commitc7ab6a6207ac6a63819cfbc6d8c70079c58a0119
tree32ff52627fc28f21f7dd5f94c12a5b9c0e37108b
parentcea4a80b3253f49400ed90b79f1f9116ed8e1e05
[PATCH] reduce stack usage in cdrom/optcd.c

This changes/fixes the optcd.c stack reduction patch from last week.

Alan and Jens objected to the kmalloc() in cdromread(), suggesting that
the read buffer should be allocated one time and held onto, so this
patch does that.
drivers/cdrom/optcd.c