]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - fs/buffer.c
vfs: guard end of device for mpage interface
[mirror_ubuntu-zesty-kernel.git] / fs / buffer.c
index e442a26e80f7de12875781dbee49e19923272a2a..7bd5c4685e98e4a8d92035a0a6e3b9b7d1293a31 100644 (file)
@@ -2966,7 +2966,7 @@ static void end_bio_bh_io_sync(struct bio *bio, int err)
  * errors, this only handles the "we need to be able to
  * do IO at the final sector" case.
  */
-static void guard_bio_eod(int rw, struct bio *bio)
+void guard_bio_eod(int rw, struct bio *bio)
 {
        sector_t maxsector;
        struct bio_vec *bvec = &bio->bi_io_vec[bio->bi_vcnt - 1];