aboutsummaryrefslogtreecommitdiffstats
path: root/fs/reiserfs/stree.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/reiserfs/stree.c')
-rw-r--r--fs/reiserfs/stree.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/fs/reiserfs/stree.c b/fs/reiserfs/stree.c
index ebfebc5b7dd6..dfb02febf814 100644
--- a/fs/reiserfs/stree.c
+++ b/fs/reiserfs/stree.c
@@ -748,7 +748,7 @@ io_error:
748 (node_level == 748 (node_level ==
749 DISK_LEAF_NODE_LEVEL) ? IH_SIZE : 749 DISK_LEAF_NODE_LEVEL) ? IH_SIZE :
750 KEY_SIZE, 750 KEY_SIZE,
751 &(last_element->pe_position)); 751 &last_element->pe_position);
752 if (node_level == stop_level) { 752 if (node_level == stop_level) {
753 return retval; 753 return retval;
754 } 754 }
@@ -871,9 +871,8 @@ int search_for_position_by_key(struct super_block *sb,
871 --PATH_LAST_POSITION(search_path)); 871 --PATH_LAST_POSITION(search_path));
872 blk_size = sb->s_blocksize; 872 blk_size = sb->s_blocksize;
873 873
874 if (comp_short_keys(&(p_le_ih->ih_key), p_cpu_key)) { 874 if (comp_short_keys(&p_le_ih->ih_key, p_cpu_key))
875 return FILE_NOT_FOUND; 875 return FILE_NOT_FOUND;
876 }
877 876
878 /* FIXME: quite ugly this far */ 877 /* FIXME: quite ugly this far */
879 878
@@ -2088,7 +2087,7 @@ int reiserfs_paste_into_item(struct reiserfs_transaction_handle *th,
2088 reiserfs_debug(inode->i_sb, REISERFS_DEBUG_CODE, 2087 reiserfs_debug(inode->i_sb, REISERFS_DEBUG_CODE,
2089 "reiserquota paste_into_item(): allocating %u id=%u type=%c", 2088 "reiserquota paste_into_item(): allocating %u id=%u type=%c",
2090 pasted_size, inode->i_uid, 2089 pasted_size, inode->i_uid,
2091 key2type(&(key->on_disk_key))); 2090 key2type(&key->on_disk_key));
2092#endif 2091#endif
2093 2092
2094 depth = reiserfs_write_unlock_nested(sb); 2093 depth = reiserfs_write_unlock_nested(sb);
@@ -2150,7 +2149,7 @@ error_out:
2150 reiserfs_debug(inode->i_sb, REISERFS_DEBUG_CODE, 2149 reiserfs_debug(inode->i_sb, REISERFS_DEBUG_CODE,
2151 "reiserquota paste_into_item(): freeing %u id=%u type=%c", 2150 "reiserquota paste_into_item(): freeing %u id=%u type=%c",
2152 pasted_size, inode->i_uid, 2151 pasted_size, inode->i_uid,
2153 key2type(&(key->on_disk_key))); 2152 key2type(&key->on_disk_key));
2154#endif 2153#endif
2155 depth = reiserfs_write_unlock_nested(sb); 2154 depth = reiserfs_write_unlock_nested(sb);
2156 dquot_free_space_nodirty(inode, pasted_size); 2155 dquot_free_space_nodirty(inode, pasted_size);