projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net: phy: dp83848: add dp83822 PHY support
[cascardo/linux.git]
/
block
/
bio.c
diff --git
a/block/bio.c
b/block/bio.c
index
aa73540
..
db85c57
100644
(file)
--- a/
block/bio.c
+++ b/
block/bio.c
@@
-1068,7
+1068,7
@@
static int bio_copy_to_iter(struct bio *bio, struct iov_iter iter)
return 0;
}
return 0;
}
-
static
void bio_free_pages(struct bio *bio)
+void bio_free_pages(struct bio *bio)
{
struct bio_vec *bvec;
int i;
{
struct bio_vec *bvec;
int i;
@@
-1076,6
+1076,7
@@
static void bio_free_pages(struct bio *bio)
bio_for_each_segment_all(bvec, bio, i)
__free_page(bvec->bv_page);
}
bio_for_each_segment_all(bvec, bio, i)
__free_page(bvec->bv_page);
}
+EXPORT_SYMBOL(bio_free_pages);
/**
* bio_uncopy_user - finish previously mapped bio
/**
* bio_uncopy_user - finish previously mapped bio
@@
-1274,7
+1275,7
@@
struct bio *bio_map_user_iov(struct request_queue *q,
nr_pages += end - start;
/*
nr_pages += end - start;
/*
- * buffer must be aligned to at least
hardsector
size for now
+ * buffer must be aligned to at least
logical block
size for now
*/
if (uaddr & queue_dma_alignment(q))
return ERR_PTR(-EINVAL);
*/
if (uaddr & queue_dma_alignment(q))
return ERR_PTR(-EINVAL);