aboutsummaryrefslogtreecommitdiffstats
path: root/fs/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/buffer.c')
-rw-r--r--fs/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/buffer.c b/fs/buffer.c
index e442a26e80f7..7bd5c4685e98 100644
--- a/fs/buffer.c
+++ b/fs/buffer.c
@@ -2966,7 +2966,7 @@ static void end_bio_bh_io_sync(struct bio *bio, int err)
2966 * errors, this only handles the "we need to be able to 2966 * errors, this only handles the "we need to be able to
2967 * do IO at the final sector" case. 2967 * do IO at the final sector" case.
2968 */ 2968 */
2969static void guard_bio_eod(int rw, struct bio *bio) 2969void guard_bio_eod(int rw, struct bio *bio)
2970{ 2970{
2971 sector_t maxsector; 2971 sector_t maxsector;
2972 struct bio_vec *bvec = &bio->bi_io_vec[bio->bi_vcnt - 1]; 2972 struct bio_vec *bvec = &bio->bi_io_vec[bio->bi_vcnt - 1];