diff options
| author | Akria Fujita <[email protected]> | 2013-02-02 01:52:46 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2013-02-02 01:52:46 +0000 |
| commit | 87e698734b9e618276c797092ccdd91da292d10e (patch) | |
| tree | cc78a0610c63ca864a44bb87e0059ce7ae4fea27 /fs/jbd2/commit.c | |
| parent | ext4: use WARN in ext4_alloc_blocks (diff) | |
| download | kernel-87e698734b9e618276c797092ccdd91da292d10e.tar.gz kernel-87e698734b9e618276c797092ccdd91da292d10e.zip | |
ext4: fix smatch warning in move_extent.c's mext_replace_branches()
Commit 2147b1a6a48 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]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
