android_kernel_xiaomi_sm8350/include/linux/raid
NeilBrown ab6085c795 md: don't write more than is required of the last page of a bitmap
It is possible that real data or metadata follows the bitmap without full page
alignment.

So limit the last write to be only the required number of bytes, rounded up to
the hard sector size of the device.

Signed-off-by: Neil Brown <neilb@suse.de>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-23 20:14:14 -07:00
..
bitmap.h md: don't write more than is required of the last page of a bitmap 2007-05-23 20:14:14 -07:00
Kbuild
linear.h
md_k.h
md_p.h
md_u.h
md.h
multipath.h
raid0.h
raid1.h
raid5.h
raid10.h
xor.h