Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 185872
b: refs/heads/master
c: b8b8afe
h: refs/heads/master
v: v3
  • Loading branch information
Toshiyuki Okajima authored and Theodore Ts'o committed Mar 2, 2010
1 parent 2f9149b commit 719aaaf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 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: 6e3617e579e070d3655a93ee9ed7149113e795e0
refs/heads/master: b8b8afe236e97b6359d46d3a3f8c46455e192271
8 changes: 5 additions & 3 deletions trunk/fs/ext4/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,11 @@ int ext4_check_dir_entry(const char *function, struct inode *dir,

if (error_msg != NULL)
__ext4_error(dir->i_sb, function,
"bad entry in directory #%lu: %s - "
"offset=%u, inode=%u, rec_len=%d, name_len=%d",
dir->i_ino, error_msg, offset,
"bad entry in directory #%lu: %s - block=%llu"
"offset=%u(%u), inode=%u, rec_len=%d, name_len=%d",
dir->i_ino, error_msg,
(unsigned long long) bh->b_blocknr,
(unsigned) (offset%bh->b_size), offset,
le32_to_cpu(de->inode),
rlen, de->name_len);
return error_msg == NULL ? 1 : 0;
Expand Down

0 comments on commit 719aaaf

Please sign in to comment.