diff options
author | Anatol Pomazau <anatol@google.com> | 2012-02-03 10:57:40 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-02-03 10:57:40 -0800 |
commit | ae4f7dccadfafc36470a3e6f3084c6cf3cc63415 (patch) | |
tree | e9df9977417c5df1e15c07df7ef6cb6dad75cac8 /ext4_utils/ext4_utils.h | |
parent | 93eb1dc9e68d2e9dea94f56d8bce478c1a52b354 (diff) | |
download | extras-ae4f7dccadfafc36470a3e6f3084c6cf3cc63415.tar.gz |
Revert "Pass file descriptor instead of file name"
This reverts commit 93eb1dc9e68d2e9dea94f56d8bce478c1a52b354
Diffstat (limited to 'ext4_utils/ext4_utils.h')
-rw-r--r-- | ext4_utils/ext4_utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext4_utils/ext4_utils.h b/ext4_utils/ext4_utils.h index 033e6b7e..bb9c09e8 100644 --- a/ext4_utils/ext4_utils.h +++ b/ext4_utils/ext4_utils.h @@ -151,7 +151,7 @@ static inline int log_2(int j) } int ext4_bg_has_super_block(int bg); -void write_ext4_image(int fd, int gz, int sparse, int crc, +void write_ext4_image(const char *filename, int gz, int sparse, int crc, int wipe); void ext4_create_fs_aux_info(void); void ext4_free_fs_aux_info(void); @@ -160,7 +160,7 @@ void ext4_create_resize_inode(void); void ext4_create_journal_inode(void); void ext4_update_free(void); void ext4_queue_sb(void); -u64 get_file_size(int fd); +u64 get_file_size(const char *filename); u64 parse_num(const char *arg); void ext4_parse_sb(struct ext4_super_block *sb); |