Skip to content

Commit

Permalink
Add ticket link
Browse files Browse the repository at this point in the history
  • Loading branch information
twiggler committed Oct 15, 2024
1 parent f65cd0b commit 49e48bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dissect/xfs/xfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ def link(self) -> str:
# need three blocks. These three blocks could theoretially be distributed over multiple extents.
# Linux kernel handles this by using sl_offset to piece the symlink back together.
# As this edge case of an edge case is very unlikely, it is unsupported until we observe it.
# Ticket: https://github.com/fox-it/dissect.xfs/issues/36
if len(self.dataruns()) > 1:
raise NotImplementedError(f"{self!r} has a symlink distributed over multiple extents")

Check warning on line 334 in dissect/xfs/xfs.py

View check run for this annotation

Codecov / codecov/patch

dissect/xfs/xfs.py#L334

Added line #L334 was not covered by tests

Expand Down

0 comments on commit 49e48bc

Please sign in to comment.