Merge "fs_mgr: remove some dead code"

This commit is contained in:
Elliott Hughes 2015-05-07 20:03:33 +00:00 committed by Gerrit Code Review
commit 9680eaa182

View file

@ -934,10 +934,6 @@ int fs_mgr_setup_verity(struct fstab_rec *fstab) {
struct dm_ioctl *io = (struct dm_ioctl *) buffer; struct dm_ioctl *io = (struct dm_ioctl *) buffer;
char *mount_point = basename(fstab->mount_point); char *mount_point = basename(fstab->mount_point);
// set the dm_ioctl flags
io->flags |= 1;
io->target_count = 1;
// get verity filesystem size // get verity filesystem size
if (get_fs_size(fstab->fs_type, fstab->blk_device, &device_size) < 0) { if (get_fs_size(fstab->fs_type, fstab->blk_device, &device_size) < 0) {
return retval; return retval;