Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 131380
b: refs/heads/master
c: 7be2baa
h: refs/heads/master
v: v3
  • Loading branch information
Wei Yongjun authored and Theodore Tso committed Feb 10, 2009
1 parent 004ce81 commit 24c327d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 7f5aa215088b817add9c71914b83650bdd49f8a9
refs/heads/master: 7be2baaa0322c59ba888aa5260a8c130666acd41
2 changes: 1 addition & 1 deletion trunk/fs/ext4/ext4.h
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,7 @@ static inline unsigned ext4_rec_len_from_disk(__le16 dlen)
{
unsigned len = le16_to_cpu(dlen);

if (len == EXT4_MAX_REC_LEN)
if (len == EXT4_MAX_REC_LEN || len == 0)
return 1 << 16;
return len;
}
Expand Down

0 comments on commit 24c327d

Please sign in to comment.