The patch titled bh: ensure bh fits within a page has been removed from the -mm tree. Its filename is bh-ensure-bh-fits-within-a-page.patch This patch was dropped because it is obsolete ------------------------------------------------------ Subject: bh: ensure bh fits within a page From: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> There is a bug in jbd with slab debugging enabled where it was submitting a bh obtained via jbd_rep_kmalloc which crossed a page boundary. A lot of time was spent on tracking this down because the symptoms were far off from where the problem was. This patch adds a sanity check to submit_bh so we can immediately spot anyone doing similar things in future. Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/buffer.c | 1 + 1 file changed, 1 insertion(+) diff -puN fs/buffer.c~bh-ensure-bh-fits-within-a-page fs/buffer.c --- a/fs/buffer.c~bh-ensure-bh-fits-within-a-page +++ a/fs/buffer.c @@ -2790,6 +2790,7 @@ int submit_bh(int rw, struct buffer_head BUG_ON(!buffer_locked(bh)); BUG_ON(!buffer_mapped(bh)); BUG_ON(!bh->b_end_io); + WARN_ON(bh_offset(bh) + bh->b_size > PAGE_SIZE); if (buffer_ordered(bh) && (rw == WRITE)) rw = WRITE_BARRIER; _ Patches currently in -mm which might be from herbert@xxxxxxxxxxxxxxxxxxx are git-cryptodev.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html