]> git.baikalelectronics.ru Git - kernel.git/commit
fs/affs: make root lookup from blkdev logical size
authorPranay Kr. Srivastava <pranjas@gmail.com>
Wed, 9 Sep 2015 22:39:09 +0000 (15:39 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 10 Sep 2015 20:29:01 +0000 (13:29 -0700)
commit98d7066b8ef3f4d36e2b5e3e8e35eefd27b4e87d
tree51b340100592465cea55ca9350725e11d5d81b8a
parentac05ce59d631400bd340d6256261eed1585a6363
fs/affs: make root lookup from blkdev logical size

This patch resolves https://bugzilla.kernel.org/show_bug.cgi?id=16531.

When logical blkdev size > 512 then sector numbers become larger than the
device can support.

Make affs start lookup based on the device's logical sector size instead
of 512.

Reported-by: Mark <markk@clara.co.uk>
Suggested-by: Mark <markk@clara.co.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/affs/super.c