diff options
Diffstat (limited to 'fs/ocfs2/inode.c')
-rw-r--r-- | fs/ocfs2/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ocfs2/inode.c b/fs/ocfs2/inode.c index 7708c63a3554..ac78877ba14d 100644 --- a/fs/ocfs2/inode.c +++ b/fs/ocfs2/inode.c | |||
@@ -524,7 +524,7 @@ static int ocfs2_truncate_for_delete(struct ocfs2_super *osb, | |||
524 | if (!fe->i_clusters) | 524 | if (!fe->i_clusters) |
525 | goto bail; | 525 | goto bail; |
526 | 526 | ||
527 | handle = ocfs2_start_trans(osb, handle, OCFS2_INODE_UPDATE_CREDITS); | 527 | handle = ocfs2_start_trans(osb, OCFS2_INODE_UPDATE_CREDITS); |
528 | if (IS_ERR(handle)) { | 528 | if (IS_ERR(handle)) { |
529 | status = PTR_ERR(handle); | 529 | status = PTR_ERR(handle); |
530 | handle = NULL; | 530 | handle = NULL; |
@@ -590,7 +590,7 @@ static int ocfs2_remove_inode(struct inode *inode, | |||
590 | goto bail; | 590 | goto bail; |
591 | } | 591 | } |
592 | 592 | ||
593 | handle = ocfs2_start_trans(osb, NULL, OCFS2_DELETE_INODE_CREDITS); | 593 | handle = ocfs2_start_trans(osb, OCFS2_DELETE_INODE_CREDITS); |
594 | if (IS_ERR(handle)) { | 594 | if (IS_ERR(handle)) { |
595 | status = PTR_ERR(handle); | 595 | status = PTR_ERR(handle); |
596 | mlog_errno(status); | 596 | mlog_errno(status); |