]> git.baikalelectronics.ru Git - kernel.git/commit
fs/adfs: map: fix map scanning
authorRussell King <rmk+kernel@armlinux.org.uk>
Mon, 9 Dec 2019 11:09:04 +0000 (11:09 +0000)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 21 Jan 2020 01:12:40 +0000 (20:12 -0500)
commitf9a67675acfd198774fcc0060322f2f7f423db46
treeb4187bc69a3b276b928a379197f75d0961b8e015
parentf6b1de5bc00ca5cf549803a4e2f1ebbd0f990493
fs/adfs: map: fix map scanning

When scanning the map for a fragment id, we need to keep track of the
free space links, so we don't inadvertently believe that the freespace
link is a valid fragment id.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/adfs/map.c