Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 101093
b: refs/heads/master
c: d9c769b
h: refs/heads/master
i:
  101091: 85a75dd
v: v3
  • Loading branch information
Li Zefan authored and Theodore Ts'o committed Jul 11, 2008
1 parent ee8325c commit 12f4595
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 9102e4fa8016af8bf1a263df913ee8fdafd4dfb0
refs/heads/master: d9c769b769a8bcd70371c71797fc4e407b37ba75
4 changes: 2 additions & 2 deletions trunk/fs/ext4/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -241,13 +241,13 @@ static inline unsigned dx_root_limit (struct inode *dir, unsigned infosize)
{
unsigned entry_space = dir->i_sb->s_blocksize - EXT4_DIR_REC_LEN(1) -
EXT4_DIR_REC_LEN(2) - infosize;
return 0? 20: entry_space / sizeof(struct dx_entry);
return entry_space / sizeof(struct dx_entry);
}

static inline unsigned dx_node_limit (struct inode *dir)
{
unsigned entry_space = dir->i_sb->s_blocksize - EXT4_DIR_REC_LEN(0);
return 0? 22: entry_space / sizeof(struct dx_entry);
return entry_space / sizeof(struct dx_entry);
}

/*
Expand Down

0 comments on commit 12f4595

Please sign in to comment.