From: Borislav Petkov Date: Sat, 2 Feb 2008 18:56:35 +0000 (+0100) Subject: ide-floppy: factor out ioctl handlers from idefloppy_ioctl() X-Git-Tag: v2.6.25-rc1~1068^2~73 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20bf7bdad443d473826832674230834654b31d0b;p=pandora-kernel.git ide-floppy: factor out ioctl handlers from idefloppy_ioctl() By passing idefloppy_floppy_t *floppy to the factored out functions, we get rid of (almost) all local vars so stack usage should be at minimum here. Also, we merge idefloppy_begin_format() into idefloppy_format_start() since it is its only user. Also, rename idefloppy_format_start() to idefloppy_format_unit(). Finally, rename the reworked functions to ide_floppy..(). Bart - minor CodingStyle fixup Signed-off-by: Borislav Petkov Signed-off-by: Bartlomiej Zolnierkiewicz --- Reading git-diff-tree failed