Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 54478
b: refs/heads/master
c: f391a4e
h: refs/heads/master
v: v3
  • Loading branch information
akpm@linux-foundation.org authored and Steven Whitehouse committed May 1, 2007
1 parent 9c72874 commit c2dcb45
Show file tree
Hide file tree
Showing 2 changed files with 8 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: bf126aee6d54fe1e509846abf3b27aba84c6d7ce
refs/heads/master: f391a4ead61e4510ff385815ddaf3c0777fbad1b
11 changes: 7 additions & 4 deletions trunk/fs/gfs2/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -1319,9 +1319,11 @@ static int gfs2_dir_read_leaf(struct inode *inode, u64 *offset, void *opaque,
if (IS_ERR(dent))
goto out_kfree;
if (entries2 != g.offset) {
fs_warn(sdp, "Number of entries corrupt in dir leaf %llu, "
"entries2 (%u) != g.offset (%u)\n",
(u64)bh->b_blocknr, entries2, g.offset);
fs_warn(sdp, "Number of entries corrupt in dir "
"leaf %llu, entries2 (%u) != "
"g.offset (%u)\n",
(unsigned long long)bh->b_blocknr,
entries2, g.offset);

error = -EIO;
goto out_kfree;
Expand Down Expand Up @@ -1454,7 +1456,8 @@ int gfs2_dir_read(struct inode *inode, u64 *offset, void *opaque,
if (dip->i_di.di_entries != g.offset) {
fs_warn(sdp, "Number of entries corrupt in dir %llu, "
"ip->i_di.di_entries (%u) != g.offset (%u)\n",
dip->i_num.no_addr, dip->i_di.di_entries,
(unsigned long long)dip->i_num.no_addr,
dip->i_di.di_entries,
g.offset);
error = -EIO;
goto out;
Expand Down

0 comments on commit c2dcb45

Please sign in to comment.