projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Drop 'size' argument from bio_endio and bi_end_io
[firefly-linux-kernel-4.4.55.git]
/
include
/
linux
/
bio.h
diff --git
a/include/linux/bio.h
b/include/linux/bio.h
index 1ddef34f43c37c3a4153e080fa1c97757fe1ab08..089a8bc55dd42f8c60f715b24e43fe8f781de4dc 100644
(file)
--- a/
include/linux/bio.h
+++ b/
include/linux/bio.h
@@
-64,7
+64,7
@@
struct bio_vec {
struct bio_set;
struct bio;
struct bio_set;
struct bio;
-typedef
int (bio_end_io_t) (struct bio *, unsigned int
, int);
+typedef
void (bio_end_io_t) (struct bio *
, int);
typedef void (bio_destructor_t) (struct bio *);
/*
typedef void (bio_destructor_t) (struct bio *);
/*
@@
-226,7
+226,7
@@
struct bio {
#define BIO_SEG_BOUNDARY(q, b1, b2) \
BIOVEC_SEG_BOUNDARY((q), __BVEC_END((b1)), __BVEC_START((b2)))
#define BIO_SEG_BOUNDARY(q, b1, b2) \
BIOVEC_SEG_BOUNDARY((q), __BVEC_END((b1)), __BVEC_START((b2)))
-#define bio_io_error(bio
, bytes) bio_endio((bio), (bytes
), -EIO)
+#define bio_io_error(bio
) bio_endio((bio
), -EIO)
/*
* drivers should not use the __ version unless they _really_ want to
/*
* drivers should not use the __ version unless they _really_ want to
@@
-286,7
+286,7
@@
extern struct bio *bio_alloc_bioset(gfp_t, int, struct bio_set *);
extern void bio_put(struct bio *);
extern void bio_free(struct bio *, struct bio_set *);
extern void bio_put(struct bio *);
extern void bio_free(struct bio *, struct bio_set *);
-extern void bio_endio(struct bio *,
unsigned int,
int);
+extern void bio_endio(struct bio *, int);
struct request_queue;
extern int bio_phys_segments(struct request_queue *, struct bio *);
extern int bio_hw_segments(struct request_queue *, struct bio *);
struct request_queue;
extern int bio_phys_segments(struct request_queue *, struct bio *);
extern int bio_hw_segments(struct request_queue *, struct bio *);