]> www.infradead.org Git - users/jedix/linux-maple.git/commit
hfsplus: ensure bio requests are not smaller than the hardware sectors
authorSeth Forshee <seth.forshee@canonical.com>
Mon, 18 Jul 2011 15:06:23 +0000 (08:06 -0700)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Thu, 8 Dec 2011 19:17:05 +0000 (11:17 -0800)
commit9475178db80f5ce2316922f31b85bc98bf4f7329
treecebf195aef2e619c4ed790e41ed735d2b388feba
parentce0a5e1b6975d21b61f54ed61e77d79cb5cebd9e
hfsplus: ensure bio requests are not smaller than the hardware sectors

commit 6596528e391ad978a6a120142cba97a1d7324cb6 upstream.

Currently all bio requests are 512 bytes, which may fail for media
whose physical sector size is larger than this. Ensure these
requests are not smaller than the block device logical block size.

BugLink: http://bugs.launchpad.net/bugs/734883
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Josh Boyer <jwboyer@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/hfsplus/hfsplus_fs.h
fs/hfsplus/part_tbl.c
fs/hfsplus/super.c
fs/hfsplus/wrapper.c