]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] md: minor MD fixes
authorNeilBrown <neilb@suse.de>
Wed, 9 Nov 2005 05:39:29 +0000 (21:39 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 9 Nov 2005 15:56:37 +0000 (07:56 -0800)
commit31399d9e56abeec4d819f07eefc97f30b5d5ed75
tree841dee4a780a213519ca7bfbb5ba1ed1bf025c2c
parent9c79197761b4c181a143dc6a6044f4e47d44bdcc
[PATCH] md: minor MD fixes

1/ Use reduce stack usage, because 'gcc' apparently doesn't overlay
   different variables  that are in separate scopes...

2/ Use test_bit instead of ( .. & 1<< ..) which in this case is buggy.

Thanks to Andrew Morton

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/md.c