diff options
author | "Robert P. J. Day" | 2006-07-01 15:09:17 +0000 |
---|---|---|
committer | "Robert P. J. Day" | 2006-07-01 15:09:17 +0000 |
commit | 7ccb65f3a4f5c84d010978d450df57d3c1b13297 (patch) | |
tree | 1a8ad50d798ce0a176c20b817d53ffaead21b14c /e2fsprogs/ext2fs/inode.c | |
parent | d35ef0f66643f2bc43bd7070df0356e0b064b755 (diff) | |
download | busybox-7ccb65f3a4f5c84d010978d450df57d3c1b13297.zip busybox-7ccb65f3a4f5c84d010978d450df57d3c1b13297.tar.gz |
Yet more "#if 0" content removed.
Diffstat (limited to 'e2fsprogs/ext2fs/inode.c')
-rw-r--r-- | e2fsprogs/ext2fs/inode.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/e2fsprogs/ext2fs/inode.c b/e2fsprogs/ext2fs/inode.c index 8608dc8..88da4e0 100644 --- a/e2fsprogs/ext2fs/inode.c +++ b/e2fsprogs/ext2fs/inode.c @@ -355,27 +355,6 @@ static errcode_t get_next_blocks(ext2_inode_scan scan) return 0; } -#if 0 -/* - * Returns 1 if the entire inode_buffer has a non-zero size and - * contains all zeros. (Not just deleted inodes, since that means - * that part of the inode table was used at one point; we want all - * zeros, which means that the inode table is pristine.) - */ -static inline int is_empty_scan(ext2_inode_scan scan) -{ - int i; - - if (scan->bytes_left == 0) - return 0; - - for (i=0; i < scan->bytes_left; i++) - if (scan->ptr[i]) - return 0; - return 1; -} -#endif - errcode_t ext2fs_get_next_inode_full(ext2_inode_scan scan, ext2_ino_t *ino, struct ext2_inode *inode, int bufsize) { |