Using consistent coding style to deal with error inside the loop.

MFC after:	1 week
This commit is contained in:
Tai-hwa Liang 2015-08-18 13:16:23 +00:00
parent 076cf2dd66
commit 0b81f3161f

View File

@ -960,8 +960,8 @@ uint32_t find_hash_out(struct reiserfs_mount *rmp)
key.on_disk_key.k_objectid, key.on_disk_key.k_dir_id);
retval = search_by_entry_key(sbi, &key, &path, &de);
if (retval == IO_ERROR) {
pathrelse(&path);
return (UNSET_HASH);
hash = UNSET_HASH;
break;
}
if (retval == NAME_NOT_FOUND)
de.de_entry_num--;