Lines Matching defs:handle
337 * handle superblocks today ;-) */
586 handle_t *handle = NULL;
598 handle = ocfs2_start_trans(osb, OCFS2_INODE_UPDATE_CREDITS);
599 if (IS_ERR(handle)) {
600 status = PTR_ERR(handle);
601 handle = NULL;
606 status = ocfs2_journal_access_di(handle, INODE_CACHE(inode),
616 status = ocfs2_mark_inode_dirty(handle, inode, fe_bh);
622 ocfs2_commit_trans(osb, handle);
623 handle = NULL;
631 if (handle)
632 ocfs2_commit_trans(osb, handle);
644 handle_t *handle;
666 handle = ocfs2_start_trans(osb, OCFS2_DELETE_INODE_CREDITS +
668 if (IS_ERR(handle)) {
669 status = PTR_ERR(handle);
675 status = ocfs2_orphan_del(osb, handle, orphan_dir_inode, inode,
684 status = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh,
693 ocfs2_journal_dirty(handle, di_bh);
698 status = ocfs2_free_dinode(handle, inode_alloc_inode,
704 ocfs2_commit_trans(osb, handle);
732 * wait for us to handle the wipe. */
1289 int ocfs2_mark_inode_dirty(handle_t *handle,
1298 status = ocfs2_journal_access_di(handle, INODE_CACHE(inode), bh,
1324 ocfs2_journal_dirty(handle, bh);
1325 ocfs2_update_inode_fsync_trans(handle, inode, 1);