Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29755
b: refs/heads/master
c: 92eeccd
h: refs/heads/master
i:
  29753: 96379e5
  29751: c25f94e
v: v3
  • Loading branch information
Johann Lombardi authored and Linus Torvalds committed Jun 25, 2006
1 parent 05afd48 commit c24e5cb
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 0710d36a0fd5db3176369397f0fc49db32a63507
refs/heads/master: 92eeccd8badbfebe12383b6e5326b27dc707601d
4 changes: 1 addition & 3 deletions trunk/fs/ext3/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -1379,7 +1379,6 @@ static int ext3_add_entry (handle_t *handle, struct dentry *dentry,
int dx_fallback=0;
#endif
unsigned blocksize;
unsigned nlen, rlen;
u32 block, blocks;

sb = dir->i_sb;
Expand Down Expand Up @@ -1417,8 +1416,7 @@ static int ext3_add_entry (handle_t *handle, struct dentry *dentry,
return retval;
de = (struct ext3_dir_entry_2 *) bh->b_data;
de->inode = 0;
de->rec_len = cpu_to_le16(rlen = blocksize);
nlen = 0;
de->rec_len = cpu_to_le16(blocksize);
return add_dirent_to_buf(handle, dentry, inode, de, bh);
}

Expand Down

0 comments on commit c24e5cb

Please sign in to comment.