summaryrefslogtreecommitdiffstats
path: root/sys/gnu/fs
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-09-11 15:21:16 -0300
committerRenato Botelho <renato@netgate.com>2015-09-11 15:21:16 -0300
commit8400c0790e456038fbca4995d032d4e3d44c3d31 (patch)
treef83f0b852f452a91d21059a9a70ff02f129eafa6 /sys/gnu/fs
parentb05262eae8651c5f280c6fadf2e22f70af66d6ca (diff)
parent6561e98b4c105596a44efb53466ecf8be2a3bbf3 (diff)
downloadFreeBSD-src-8400c0790e456038fbca4995d032d4e3d44c3d31.zip
FreeBSD-src-8400c0790e456038fbca4995d032d4e3d44c3d31.tar.gz
Merge branch 'stable/10' into devel
Diffstat (limited to 'sys/gnu/fs')
-rw-r--r--sys/gnu/fs/reiserfs/reiserfs_vfsops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/gnu/fs/reiserfs/reiserfs_vfsops.c b/sys/gnu/fs/reiserfs/reiserfs_vfsops.c
index 496a6ad..ad2aab0 100644
--- a/sys/gnu/fs/reiserfs/reiserfs_vfsops.c
+++ b/sys/gnu/fs/reiserfs/reiserfs_vfsops.c
@@ -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--;
OpenPOWER on IntegriCloud