diff options
author | Theodore Ts'o <tytso@mit.edu> | 2011-06-11 12:54:50 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-06-11 12:55:26 -0400 |
commit | 8f36e6925f817ed5086550c97796e09905fbb234 (patch) | |
tree | 0bfc6e2a5cbd5c09ce5b9cdab29f50530377f26b /lib/ext2fs | |
parent | 9b4d06b8de610da96de8733ec7a3ac0a80a3865c (diff) | |
parent | 177cb5c7e2b59b40570ca76d8dee383fc1ca8934 (diff) | |
download | e2fsprogs-8f36e6925f817ed5086550c97796e09905fbb234.tar.gz |
Merge branch 'maint' into next
Diffstat (limited to 'lib/ext2fs')
-rw-r--r-- | lib/ext2fs/dblist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ext2fs/dblist.c b/lib/ext2fs/dblist.c index 8ee61b4c..c0a3dfe4 100644 --- a/lib/ext2fs/dblist.c +++ b/lib/ext2fs/dblist.c @@ -172,7 +172,7 @@ errcode_t ext2fs_add_dir_block2(ext2_dblist dblist, ext2_ino_t ino, sizeof(struct ext2_db_entry2), &dblist->list); if (retval) { - dblist->size -= 100; + dblist->size = old_size / sizeof(struct ext2_db_entry2); return retval; } } |