Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Fix build error on Linux 4.3. #213

Merged
merged 1 commit into from
Aug 29, 2017
Merged

Conversation

vinsonlee
Copy link
Contributor

Fix build after Linux 4.3-rc1 commit 4246a0b63bd8f56a1469b12eafeb875b1041a451
("block: add a bi_error field to struct bio").

src/flashcache_subr.c: In function ‘flashcache_bio_endio’:
src/flashcache_subr.c:740:2: error: too many arguments to function ‘bio_endio’
bio_endio(bio, error);
^
In file included from include/linux/blkdev.h:18:0,
from src/flashcache_subr.c:29:
include/linux/bio.h:433:13: note: declared here
extern void bio_endio(struct bio *);
^

Signed-off-by: Vinson Lee vlee@freedesktop.org

Fix build after Linux 4.3-rc1 commit 4246a0b63bd8f56a1469b12eafeb875b1041a451
("block: add a bi_error field to struct bio").

src/flashcache_subr.c: In function ‘flashcache_bio_endio’:
src/flashcache_subr.c:740:2: error: too many arguments to function ‘bio_endio’
  bio_endio(bio, error);
  ^
In file included from include/linux/blkdev.h:18:0,
                 from src/flashcache_subr.c:29:
include/linux/bio.h:433:13: note: declared here
 extern void bio_endio(struct bio *);
             ^

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants