git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
md linear: fix a race between linear_add() and linear_congested()
[pandora-kernel.git]
/
drivers
/
md
/
linear.h
diff --git
a/drivers/md/linear.h
b/drivers/md/linear.h
index
b685ddd
..
8d392e6
100644
(file)
--- a/
drivers/md/linear.h
+++ b/
drivers/md/linear.h
@@
-10,6
+10,7
@@
struct linear_conf
{
struct rcu_head rcu;
sector_t array_sectors;
+ int raid_disks; /* a copy of mddev->raid_disks */
struct dev_info disks[0];
};
#endif