aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bitmap.c
diff options
context:
space:
mode:
authorDaniel Taylor <Daniel.Taylor@wdc.com>2010-03-23 13:35:50 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-03-24 16:31:22 -0700
commit3fbf586cf7f245392142e5407c2a56f1cff979b6 (patch)
treeb158129f5ed92f4be7e15afb9d1552e967bc4cc7 /lib/bitmap.c
parentlxfb: set the H- and V-SYNC polarity of the flatpanel output (diff)
downloadlinux-dev-3fbf586cf7f245392142e5407c2a56f1cff979b6.tar.xz
linux-dev-3fbf586cf7f245392142e5407c2a56f1cff979b6.zip
fs/partitions/msdos: add support for large disks
In order to use disks larger than 2TiB on Windows XP, it is necessary to use 4096-byte logical sectors in an MBR. Although the kernel storage and functions called from msdos.c used "sector_t" internally, msdos.c still used u32 variables, which results in the ability to handle XP-compatible large disks. This patch changes the internal variables to "sector_t". Daniel said: "In the near future, WD will be releasing products that need this patch". [hirofumi@mail.parknet.co.jp: tweaks and fix] Signed-off-by: Daniel Taylor <daniel.taylor@wdc.com> Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: <stable@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions