]> Pileus Git - ~andy/linux/blobdiff - drivers/md/raid10.h
Merge tag 'mxs-clk-dt-lookup' into mxs/dt-for-3.7-2
[~andy/linux] / drivers / md / raid10.h
index b0a435869dca7d9a67ef09655ef090b72e2a03f0..1054cf602345250f059ef81fae8bf9ef330cccd1 100644 (file)
@@ -110,7 +110,7 @@ struct r10bio {
         * We choose the number when they are allocated.
         * We sometimes need an extra bio to write to the replacement.
         */
-       struct {
+       struct r10dev {
                struct bio      *bio;
                union {
                        struct bio      *repl_bio; /* used for resync and
@@ -145,4 +145,7 @@ enum r10bio_state {
  */
        R10BIO_Previous,
 };
+
+extern int md_raid10_congested(struct mddev *mddev, int bits);
+
 #endif