]> 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)
commitf8b70039413cc33811172fe281e3081d53e5f13d
tree51b340100592465cea55ca9350725e11d5d81b8a
parent02d1c90e1770c52dec615d6ed5a57d7a97809c1b
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