OSDN Git Service

f2fs: sanity check checkpoint segno and blkoff
authorJin Qian <jinqian@google.com>
Mon, 15 May 2017 17:45:08 +0000 (10:45 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 13 Jul 2017 23:55:49 +0000 (16:55 -0700)
commitcc4611491956055e8a414351e6a180677c46ff08
tree3b9080dbecbdffa197f1ea43afe4a87a64c3e2fc
parent6190400da0498c63e01f1984f3386e95c487d2f7
f2fs: sanity check checkpoint segno and blkoff

Make sure segno and blkoff read from raw image are valid.

Cc: stable@vger.kernel.org
Signed-off-by: Jin Qian <jinqian@google.com>
[Jaegeuk Kim: adjust minor coding style]
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/super.c