Re: [RFC: 2.6 patch] simplify drivers/md/md.c:update_size()

2006-12-14 Thread Adrian Bunk
On Thu, Dec 14, 2006 at 07:36:35PM -0500, Doug Ledford wrote: > On Fri, 2006-12-15 at 01:19 +0100, Adrian Bunk wrote: > > While looking at commit 8ddeeae51f2f197b4fafcba117ee8191b49d843e, > > I got the impression that this commit couldn't fix anything, since the > > "size" variable can't be change

Re: [RFC: 2.6 patch] simplify drivers/md/md.c:update_size()

2006-12-14 Thread Doug Ledford
On Fri, 2006-12-15 at 01:19 +0100, Adrian Bunk wrote: > While looking at commit 8ddeeae51f2f197b4fafcba117ee8191b49d843e, > I got the impression that this commit couldn't fix anything, since the > "size" variable can't be changed before "fit" gets used. > > Is there any big thinko, or is the patc

[RFC: 2.6 patch] simplify drivers/md/md.c:update_size()

2006-12-14 Thread Adrian Bunk
While looking at commit 8ddeeae51f2f197b4fafcba117ee8191b49d843e, I got the impression that this commit couldn't fix anything, since the "size" variable can't be changed before "fit" gets used. Is there any big thinko, or is the patch below that slightly simplifies update_size() semantically equ