Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 19682
b: refs/heads/master
c: 9960396
h: refs/heads/master
v: v3
  • Loading branch information
KAMBAROV, ZAUR authored and Linus Torvalds committed Feb 3, 2006
1 parent 67fe112 commit d7fc0ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 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: 7656f328f68b351a8bb71ad465cedc8d0a039f9e
refs/heads/master: 99603966f5b44693901ea68cef2c1c21ce6a49c3
7 changes: 3 additions & 4 deletions trunk/fs/udf/balloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -579,10 +579,9 @@ static void udf_table_free_blocks(struct super_block * sb,
{
loffset = nextoffset;
aed->lengthAllocDescs = cpu_to_le32(adsize);
if (obh)
sptr = UDF_I_DATA(inode) + nextoffset - udf_file_entry_alloc_offset(inode) + UDF_I_LENEATTR(inode) - adsize;
else
sptr = obh->b_data + nextoffset - adsize;
sptr = UDF_I_DATA(inode) + nextoffset -
udf_file_entry_alloc_offset(inode) +
UDF_I_LENEATTR(inode) - adsize;
dptr = nbh->b_data + sizeof(struct allocExtDesc);
memcpy(dptr, sptr, adsize);
nextoffset = sizeof(struct allocExtDesc) + adsize;
Expand Down

0 comments on commit d7fc0ce

Please sign in to comment.