svn commit: r287587 - stable/9/sys/gnu/fs/reiserfs
Tai-hwa Liang
avatar at FreeBSD.org
Wed Sep 9 04:16:50 UTC 2015
Author: avatar
Date: Wed Sep 9 04:16:48 2015
New Revision: 287587
URL: https://svnweb.freebsd.org/changeset/base/287587
Log:
MFC r286888: Using consistent coding style to deal with error inside the loop.
Modified:
stable/9/sys/gnu/fs/reiserfs/reiserfs_vfsops.c
Directory Properties:
stable/9/sys/ (props changed)
Modified: stable/9/sys/gnu/fs/reiserfs/reiserfs_vfsops.c
==============================================================================
--- stable/9/sys/gnu/fs/reiserfs/reiserfs_vfsops.c Wed Sep 9 03:15:25 2015 (r287586)
+++ stable/9/sys/gnu/fs/reiserfs/reiserfs_vfsops.c Wed Sep 9 04:16:48 2015 (r287587)
@@ -961,8 +961,8 @@ uint32_t find_hash_out(struct reiserfs_m
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--;
More information about the svn-src-stable-9
mailing list