projects
/
lwext4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd04f3c
)
Removed warnings when debug mode is disabled
author
gkostka
<kostka.grzegorz@gmail.com>
Sun, 22 Jun 2014 23:19:57 +0000
(23:19 +0000)
committer
gkostka
<kostka.grzegorz@gmail.com>
Sun, 22 Jun 2014 23:19:57 +0000
(23:19 +0000)
lwext4/ext4_dir.c
patch
|
blob
|
history
diff --git
a/lwext4/ext4_dir.c
b/lwext4/ext4_dir.c
index acbd0816555aca1c64ee5a9b6229477397e6197d..2bb53b3b09f23d5a514033fd93b75128a7aa9f78 100644
(file)
--- a/
lwext4/ext4_dir.c
+++ b/
lwext4/ext4_dir.c
@@
-270,8
+270,7
@@
void ext4_dir_write_entry(struct ext4_sblock *sb,
struct ext4_inode_ref *child, const char *name, size_t name_len)
\r
{
\r
/* Check maximum entry length */
\r
- uint32_t block_size = ext4_sb_get_block_size(sb);
\r
- ext4_assert(entry_len <= block_size);
\r
+ ext4_assert(entry_len <= ext4_sb_get_block_size(sb));
\r
\r
/* Set basic attributes */
\r
ext4_dir_entry_ll_set_inode(entry, child->index);
\r