commit | 538e654c25b7bc48d4dd86ebcc926585e530f0ef | [log] [tgz] |
---|---|---|
author | Brian Behlendorf <behlendorf1@llnl.gov> | Mon Mar 19 08:52:10 2007 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Mon Mar 19 08:52:10 2007 -0400 |
tree | cfec9e8d9536c9d4d12af6c87b6eafe51bd77bf7 | |
parent | d2021de5cf94d7a55181004beee296b310901718 [diff] |
[COVERITY] Check for NULL return from dict_lookup() in e2fsck The dict_lookup() function can potentially return a NULL dnode_t. It is not checked in two places in the clone_file() function. Looks to be safe to continue if n is NULL, so just print a warning message and continue. Coverity ID: 9: Null Returns Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>