]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: use IS_ERR() for error checking of path
authorHarshad Shirwadkar <harshadshirwadkar@gmail.com>
Tue, 27 Oct 2020 20:43:42 +0000 (13:43 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 28 Oct 2020 17:43:07 +0000 (13:43 -0400)
commitedd4e54a7993b18d3793ac9237ea494d918d8ef6
tree31c6823c71234ac714dc71ed04b3c7f99b05ed60
parent078bb72e28f52c058b01878c35e98021843043c6
ext4: use IS_ERR() for error checking of path

With this fix, fast commit recovery code uses IS_ERR() for path
returned by ext4_find_extent.

Fixes: a299e1aa6968 ("ext4: fast commit recovery path")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Harshad Shirwadkar <harshadshirwadkar@gmail.com>
Link: https://lore.kernel.org/r/20201027204342.2794949-1-harshadshirwadkar@gmail.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/fast_commit.c