diff options
Diffstat (limited to 'e2fsprogs/ext2fs/dblist_dir.c')
-rw-r--r-- | e2fsprogs/ext2fs/dblist_dir.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/e2fsprogs/ext2fs/dblist_dir.c b/e2fsprogs/ext2fs/dblist_dir.c index f2e17a61d..20b1cde46 100644 --- a/e2fsprogs/ext2fs/dblist_dir.c +++ b/e2fsprogs/ext2fs/dblist_dir.c | |||
@@ -2,12 +2,12 @@ | |||
2 | * dblist_dir.c --- iterate by directory entry | 2 | * dblist_dir.c --- iterate by directory entry |
3 | * | 3 | * |
4 | * Copyright 1997 by Theodore Ts'o | 4 | * Copyright 1997 by Theodore Ts'o |
5 | * | 5 | * |
6 | * %Begin-Header% | 6 | * %Begin-Header% |
7 | * This file may be redistributed under the terms of the GNU Public | 7 | * This file may be redistributed under the terms of the GNU Public |
8 | * License. | 8 | * License. |
9 | * %End-Header% | 9 | * %End-Header% |
10 | * | 10 | * |
11 | */ | 11 | */ |
12 | 12 | ||
13 | #include <stdio.h> | 13 | #include <stdio.h> |
@@ -54,7 +54,7 @@ errcode_t ext2fs_dblist_dir_iterate(ext2_dblist dblist, | |||
54 | ctx.errcode = 0; | 54 | ctx.errcode = 0; |
55 | 55 | ||
56 | retval = ext2fs_dblist_iterate(dblist, db_dir_proc, &ctx); | 56 | retval = ext2fs_dblist_iterate(dblist, db_dir_proc, &ctx); |
57 | 57 | ||
58 | if (!block_buf) | 58 | if (!block_buf) |
59 | ext2fs_free_mem(&ctx.buf); | 59 | ext2fs_free_mem(&ctx.buf); |
60 | if (retval) | 60 | if (retval) |
@@ -69,7 +69,7 @@ static int db_dir_proc(ext2_filsys fs, struct ext2_db_entry *db_info, | |||
69 | 69 | ||
70 | ctx = (struct dir_context *) priv_data; | 70 | ctx = (struct dir_context *) priv_data; |
71 | ctx->dir = db_info->ino; | 71 | ctx->dir = db_info->ino; |
72 | 72 | ||
73 | return ext2fs_process_dir_block(fs, &db_info->blk, | 73 | return ext2fs_process_dir_block(fs, &db_info->blk, |
74 | db_info->blockcnt, 0, 0, priv_data); | 74 | db_info->blockcnt, 0, 0, priv_data); |
75 | } | 75 | } |