]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
f2fs: Add sanity_check_inode() function
authorBen Hutchings <ben.hutchings@codethink.co.uk>
Thu, 29 Nov 2018 19:17:34 +0000 (19:17 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Dec 2018 12:05:14 +0000 (13:05 +0100)
commitfd8c7d35bd1305317f5eaab62cc7f86eafbf76b3
treee7c9e8587047096a20e3836c4097da7fb0076582
parent06e606acedaf8bb00c83c4cee43acdd264287a92
f2fs: Add sanity_check_inode() function

This was done as part of commits 5d64600d4f33 "f2fs: avoid bug_on on
corrupted inode" and 76d56d4ab4f2 "f2fs: fix to do sanity check with
extra_attr feature" upstream, but the specific checks they added are
not applicable to 4.9.

Cc: Jaegeuk Kim <jaegeuk@kernel.org>
Cc: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/f2fs/inode.c