Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ext4: fix smatch warning in move_extent.c's mext_replace_branches()
Commit 2147b1a resulted in a new smatch warning: > fs/ext4/move_extent.c:693 mext_replace_branches() > warn: variable dereferenced before check 'dext' (see line 683) Fix this by adding a check to make sure dext is non-NULL before we derefrence it. Signed-off-by: Akria Fujita <[email protected]> [ modified by tytso to make sure an ext4_error is called ] Signed-off-by: "Theodore Ts'o" <[email protected]>
- Loading branch information