dynamic_fault bits have been removed.

Signed-off-by: Dan Williams <[email protected]>
---
 drivers/block/bcache/util.c |    2 --
 drivers/block/bcache/util.h |    3 ---
 2 files changed, 5 deletions(-)

diff --git a/drivers/block/bcache/util.c b/drivers/block/bcache/util.c
index 200c523..6da7058 100644
--- a/drivers/block/bcache/util.c
+++ b/drivers/block/bcache/util.c
@@ -6,8 +6,6 @@
 #include <linux/seq_file.h>
 #include <linux/types.h>
 
-#include <linux/dynamic_fault.h>
-
 #include "util.h"
 
 #define simple_strtoint(c, end, base)  simple_strtol(c, end, base)
diff --git a/drivers/block/bcache/util.h b/drivers/block/bcache/util.h
index 0c14cd7..6bd5327 100644
--- a/drivers/block/bcache/util.h
+++ b/drivers/block/bcache/util.h
@@ -597,9 +597,6 @@ unsigned __bio_max_sectors(struct bio *bio, struct 
block_device *bdev,
 
 int bio_alloc_pages(struct bio *bio, gfp_t gfp);
 
-#define bio_alloc_pages(...)                                           \
-       (dynamic_fault() ? -ENOMEM      : bio_alloc_pages(__VA_ARGS__))
-
 static inline unsigned bio_max_sectors(struct bio *bio)
 {
        return __bio_max_sectors(bio, bio->bi_bdev, bio->bi_sector);

--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to