~vorlon/ubuntu/natty/e2fsprogs/multiarch

« back to all changes in this revision

Viewing changes to lib/ext2fs/rw_bitmaps.c

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant
  • Date: 2009-08-25 18:34:46 UTC
  • mfrom: (8.2.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090825183446-p2iuz63g8g4ytlf4
Tags: 1.41.9-1ubuntu1
* Merge from Debian, remaining changes:
  - Do not build-depend on dietlibc-dev, which is universe.
  - Do now allow pkg-create-dbgsym to operate on this package.
  - Use external libblkid and libuuid from util-linux, rather than
    building our own.
  - Do not include /etc/e2fsck.conf and remove on upgrade.

* Included a couple of extra revisions from GIT maint:
  - (ffd8078) e2freefrag: Update manpage to include e2fsprogs version
    and release date
  - (31b5a2b) mke2fs.conf: Use the feature name "extent" instead of
    "extents"
  - (8bafedb) tune2fs: Fix "tune2fs -j <dev>" for extent-enabled
     filesystems.  LP: #416648.

Show diffs side-by-side

added added

removed removed

Lines of Context:
248
248
                                        goto cleanup;
249
249
                                }
250
250
                        } else
251
 
                                memset(block_bitmap, 0xff, block_nbytes);
 
251
                                memset(block_bitmap, 0, block_nbytes);
252
252
                        cnt = block_nbytes << 3;
253
253
                        retval = ext2fs_set_block_bitmap_range(fs->block_map,
254
254
                                               blk_itr, cnt, block_bitmap);
270
270
                                        goto cleanup;
271
271
                                }
272
272
                        } else
273
 
                                memset(inode_bitmap, 0xff, inode_nbytes);
 
273
                                memset(inode_bitmap, 0, inode_nbytes);
274
274
                        cnt = inode_nbytes << 3;
275
275
                        retval = ext2fs_set_inode_bitmap_range(fs->inode_map,
276
276
                                               ino_itr, cnt, inode_bitmap);