frag1 = ufs_fragnum (frag1);
ufs_free_fragments(inode, tmp + frag1, frag2);
- mark_inode_dirty(inode);
next1:
/*
write_sequnlock(&ufsi->meta_lock);
free_data(&ctx, tmp, uspi->s_fpb);
- mark_inode_dirty(inode);
}
free_data(&ctx, 0, 0);
write_sequnlock(&ufsi->meta_lock);
ufs_free_fragments (inode, tmp, frag4);
- mark_inode_dirty(inode);
next3:
UFSD("EXIT: ino %lu\n", inode->i_ino);
write_sequnlock(&UFS_I(inode)->meta_lock);
ubh_mark_buffer_dirty(ubh);
free_data(&ctx, block, uspi->s_fpb);
- mark_inode_dirty(inode);
}
}
free_data(&ctx, 0, 0);
ubh_bforget(ubh);
ufs_free_blocks(inode, ind_block, uspi->s_fpb);
- mark_inode_dirty(inode);
}
static void free_branch_tail(struct inode *inode, unsigned from, struct ufs_buffer_head *ubh, int depth)
write_sequnlock(&UFS_I(inode)->meta_lock);
ubh_mark_buffer_dirty(ubh);
free_data(&ctx, block, uspi->s_fpb);
- mark_inode_dirty(inode);
}
}
free_data(&ctx, 0, 0);
}
}
ufsi->i_lastfrag = DIRECT_FRAGMENT;
+ mark_inode_dirty(inode);
mutex_unlock(&ufsi->truncate_mutex);
}