projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
md/raid1: Replace zero-length array with flexible-array
[linux-2.6-microblaze.git]
/
drivers
/
md
/
raid1.h
diff --git
a/drivers/md/raid1.h
b/drivers/md/raid1.h
index
e7ccad8
..
b7eb09e
100644
(file)
--- a/
drivers/md/raid1.h
+++ b/
drivers/md/raid1.h
@@
-180,7
+180,7
@@
struct r1bio {
* if the IO is in WRITE direction, then multiple bios are used.
* We choose the number when they are allocated.
*/
- struct bio *bios[
0
];
+ struct bio *bios[];
/* DO NOT PUT ANY NEW FIELDS HERE - bios array is contiguously alloced*/
};