Re: [PATCH 07/21] ide-floppy: remove struct idefloppy_capacity_descriptor

2008-01-12 Thread Bartlomiej Zolnierkiewicz
On Friday 11 January 2008, Borislav Petkov wrote: > We test here for updated capacity descriptors by checking whether the media > has changed instead of memcmp-ing with a cached copy of the capacity > descriptors. > > Also: > > - remove one of 2 consecutive if (!i)-tests. > - start loop at 1 in

[PATCH 07/21] ide-floppy: remove struct idefloppy_capacity_descriptor

2008-01-11 Thread Borislav Petkov
We test here for updated capacity descriptors by checking whether the media has changed instead of memcmp-ing with a cached copy of the capacity descriptors. Also: - remove one of 2 consecutive if (!i)-tests. - start loop at 1 in idefloppy_get_format_capacities() since userspace doesn't need the

[PATCH 07/21] ide-floppy: remove struct idefloppy_capacity_descriptor

2008-01-11 Thread Borislav Petkov
We test here for updated capacity descriptors by checking whether the media has changed instead of memcmp-ing with a cached copy of the capacity descriptors. Also: - remove one of 2 consecutive if (!i)-tests. - start loop at 1 in idefloppy_get_format_capacities() since userspace doesn't need the