summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-petalynx.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2012-08-16 10:46:12 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-02 21:29:55 +0400
commit1c55a12c2a3d5b54598e7ba04e2d0fcf858b9023 (patch)
tree754c39d7c113cbfe9ffdfd83c5db9b63f842726b /drivers/hid/hid-petalynx.c
parentdd8121960467e40388876403758334fa91516db2 (diff)
downloadlinux-1c55a12c2a3d5b54598e7ba04e2d0fcf858b9023.tar.xz
md: Don't truncate size at 4TB for RAID0 and Linear
commit 667a5313ecd7308d79629c0738b0db588b0b0a4e upstream. commit 27a7b260f71439c40546b43588448faac01adb93 md: Fix handling for devices from 2TB to 4TB in 0.90 metadata. changed 0.90 metadata handling to truncated size to 4TB as that is all that 0.90 can record. However for RAID0 and Linear, 0.90 doesn't need to record the size, so this truncation is not needed and causes working arrays to become too small. So avoid the truncation for RAID0 and Linear This bug was introduced in 3.1 and is suitable for any stable kernels from then onwards. As the offending commit was tagged for 'stable', any stable kernel that it was applied to should also get this patch. That includes at least 2.6.32, 2.6.33 and 3.0. (Thanks to Ben Hutchings for providing that list). Signed-off-by: Neil Brown <neilb@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hid/hid-petalynx.c')
0 files changed, 0 insertions, 0 deletions