--- symlink.c~ Fri Mar 30 02:19:32 2001
+++ symlink.c Tue May 15 05:54:39 2001
@@ -61,6 +61,7 @@
while (len > 0) {
if (search_for_position_by_key (inode->i_sb, &key, &path, &pos_in_item, &repeat) == POSITION_NOT_FOUND) {
reiserfs_warning ("vs-17000: read_symlink: symlink item not found");
+ pathrelse (&path);
return -EIO ;
}
ih = PATH_PITEM_HEAD(&path);
@@ -91,7 +92,7 @@
}
/* *buf = 0; this is only done in follow_link now. */
- decrement_counters_in_path(&path);
+ pathrelse (&path);
return 0 ;
}