Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 7759
b: refs/heads/master
c: 2b0ada2
h: refs/heads/master
i:
  7757: 7183a53
  7755: ac5c945
  7751: f942bd4
  7743: e5c3c27
v: v3
  • Loading branch information
Anton Altaparmakov committed Sep 8, 2005
1 parent bed164d commit 6011e16
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8bb735216a0675e247bbe8b8b92c09d6884d1a17
refs/heads/master: 2b0ada2b8e086c267dd116a39ad41ff0a717b665
2 changes: 2 additions & 0 deletions trunk/fs/ntfs/ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ ToDo/Notes:
- Fix two nasty runlist merging bugs that had gone unnoticed so far.
Thanks to Stefano Picerno for the bug report.
- Remove two bogus BUG_ON()s from fs/ntfs/mft.c.
- Fix handling of valid but empty mapping pairs array in
fs/ntfs/runlist.c::ntfs_mapping_pairs_decompress().

2.1.23 - Implement extension of resident files and make writing safe as well as
many bug fixes, cleanups, and enhancements...
Expand Down
3 changes: 3 additions & 0 deletions trunk/fs/ntfs/runlist.c
Original file line number Diff line number Diff line change
Expand Up @@ -760,6 +760,9 @@ runlist_element *ntfs_mapping_pairs_decompress(const ntfs_volume *vol,
ntfs_error(vol->sb, "Corrupt attribute.");
return ERR_PTR(-EIO);
}
/* If the mapping pairs array is valid but empty, nothing to do. */
if (!vcn && !*buf)
return old_rl;
/* Current position in runlist array. */
rlpos = 0;
/* Allocate first page and set current runlist size to one page. */
Expand Down

0 comments on commit 6011e16

Please sign in to comment.