public inbox for linux-raid@vger.kernel.org
 help / color / mirror / Atom feed
* [PULL-REQUEST] md: avoid bogus read error on large-PAGE_SIZE machines
@ 2008-12-19  5:44 Neil Brown
  0 siblings, 0 replies; only message in thread
From: Neil Brown @ 2008-12-19  5:44 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-raid, stable



Hoping this isn't too late for 2.6.28.

This fixes a bug that makes it impossible to start md arrays with
write-intent-bitmaps on machines with 64K PAGE_SIZE.
We read whole pages and as easily fall off the end of the device.

It is a bug that has been around for a long time and is suitable for
any currently maintained -stable.  As such it has a 
Cc: stable@kernel.org
line.

Thanks,
NeilBrown



The following changes since commit 55dac3a5553b13891f0ae4bbd11920619b5436d4:
  Linus Torvalds (1):
        Merge branch 'i2c-fixes' of git://aeryn.fluff.org.uk/bjdooks/linux

are available in the git repository at:

  git://neil.brown.name/md/ for-linus

NeilBrown (1):
      md: Don't read past end of bitmap when reading bitmap.

 drivers/md/bitmap.c |   22 +++++++++++++++++-----
 1 files changed, 17 insertions(+), 5 deletions(-)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-12-19  5:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-19  5:44 [PULL-REQUEST] md: avoid bogus read error on large-PAGE_SIZE machines Neil Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox