Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 62967
b: refs/heads/master
c: 87588dd
h: refs/heads/master
i:
  62965: fb8d02a
  62963: d7e1ce3
  62959: bbec919
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Jul 26, 2007
1 parent 156e8e9 commit 9e3e239
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 60262e58e305f27d05eefeda172117521514f364
refs/heads/master: 87588dd6663b6f306f03f2deaec0d0fd3f0cb26e
5 changes: 3 additions & 2 deletions trunk/fs/reiserfs/stree.c
Original file line number Diff line number Diff line change
Expand Up @@ -1042,7 +1042,8 @@ static char prepare_for_delete_or_cut(struct reiserfs_transaction_handle *th, st
pos = I_UNFM_NUM(&s_ih);

while (le_ih_k_offset (&s_ih) + (pos - 1) * blk_size > n_new_file_length) {
__u32 *unfm, block;
__le32 *unfm;
__u32 block;

/* Each unformatted block deletion may involve one additional
* bitmap block into the transaction, thereby the initial
Expand All @@ -1052,7 +1053,7 @@ static char prepare_for_delete_or_cut(struct reiserfs_transaction_handle *th, st
break;
}

unfm = (__u32 *)B_I_PITEM(p_s_bh, &s_ih) + pos - 1;
unfm = (__le32 *)B_I_PITEM(p_s_bh, &s_ih) + pos - 1;
block = get_block_num(unfm, 0);

if (block != 0) {
Expand Down

0 comments on commit 9e3e239

Please sign in to comment.