diff options
Diffstat (limited to 'fs/ocfs2/quota_local.c')
-rw-r--r-- | fs/ocfs2/quota_local.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/fs/ocfs2/quota_local.c b/fs/ocfs2/quota_local.c index d451b715aefe..07deec5e9721 100644 --- a/fs/ocfs2/quota_local.c +++ b/fs/ocfs2/quota_local.c | |||
@@ -106,8 +106,8 @@ static int ocfs2_modify_bh(struct inode *inode, struct buffer_head *bh, | |||
106 | mlog_errno(status); | 106 | mlog_errno(status); |
107 | return status; | 107 | return status; |
108 | } | 108 | } |
109 | status = ocfs2_journal_access(handle, inode, bh, | 109 | status = ocfs2_journal_access_dq(handle, inode, bh, |
110 | OCFS2_JOURNAL_ACCESS_WRITE); | 110 | OCFS2_JOURNAL_ACCESS_WRITE); |
111 | if (status < 0) { | 111 | if (status < 0) { |
112 | mlog_errno(status); | 112 | mlog_errno(status); |
113 | ocfs2_commit_trans(OCFS2_SB(sb), handle); | 113 | ocfs2_commit_trans(OCFS2_SB(sb), handle); |
@@ -506,7 +506,7 @@ static int ocfs2_recover_local_quota_file(struct inode *lqinode, | |||
506 | goto out_commit; | 506 | goto out_commit; |
507 | } | 507 | } |
508 | /* Release local quota file entry */ | 508 | /* Release local quota file entry */ |
509 | status = ocfs2_journal_access(handle, lqinode, | 509 | status = ocfs2_journal_access_dq(handle, lqinode, |
510 | qbh, OCFS2_JOURNAL_ACCESS_WRITE); | 510 | qbh, OCFS2_JOURNAL_ACCESS_WRITE); |
511 | if (status < 0) { | 511 | if (status < 0) { |
512 | mlog_errno(status); | 512 | mlog_errno(status); |
@@ -614,8 +614,8 @@ int ocfs2_finish_quota_recovery(struct ocfs2_super *osb, | |||
614 | mlog_errno(status); | 614 | mlog_errno(status); |
615 | goto out_bh; | 615 | goto out_bh; |
616 | } | 616 | } |
617 | status = ocfs2_journal_access(handle, lqinode, bh, | 617 | status = ocfs2_journal_access_dq(handle, lqinode, bh, |
618 | OCFS2_JOURNAL_ACCESS_WRITE); | 618 | OCFS2_JOURNAL_ACCESS_WRITE); |
619 | if (status < 0) { | 619 | if (status < 0) { |
620 | mlog_errno(status); | 620 | mlog_errno(status); |
621 | goto out_trans; | 621 | goto out_trans; |
@@ -981,8 +981,8 @@ static struct ocfs2_quota_chunk *ocfs2_local_quota_add_chunk( | |||
981 | goto out; | 981 | goto out; |
982 | } | 982 | } |
983 | 983 | ||
984 | status = ocfs2_journal_access(handle, lqinode, bh, | 984 | status = ocfs2_journal_access_dq(handle, lqinode, bh, |
985 | OCFS2_JOURNAL_ACCESS_WRITE); | 985 | OCFS2_JOURNAL_ACCESS_WRITE); |
986 | if (status < 0) { | 986 | if (status < 0) { |
987 | mlog_errno(status); | 987 | mlog_errno(status); |
988 | goto out_trans; | 988 | goto out_trans; |
@@ -1074,7 +1074,7 @@ static struct ocfs2_quota_chunk *ocfs2_extend_local_quota_file( | |||
1074 | mlog_errno(status); | 1074 | mlog_errno(status); |
1075 | goto out; | 1075 | goto out; |
1076 | } | 1076 | } |
1077 | status = ocfs2_journal_access(handle, lqinode, chunk->qc_headerbh, | 1077 | status = ocfs2_journal_access_dq(handle, lqinode, chunk->qc_headerbh, |
1078 | OCFS2_JOURNAL_ACCESS_WRITE); | 1078 | OCFS2_JOURNAL_ACCESS_WRITE); |
1079 | if (status < 0) { | 1079 | if (status < 0) { |
1080 | mlog_errno(status); | 1080 | mlog_errno(status); |
@@ -1207,7 +1207,7 @@ static int ocfs2_local_release_dquot(struct dquot *dquot) | |||
1207 | goto out; | 1207 | goto out; |
1208 | } | 1208 | } |
1209 | 1209 | ||
1210 | status = ocfs2_journal_access(handle, sb_dqopt(sb)->files[type], | 1210 | status = ocfs2_journal_access_dq(handle, sb_dqopt(sb)->files[type], |
1211 | od->dq_chunk->qc_headerbh, OCFS2_JOURNAL_ACCESS_WRITE); | 1211 | od->dq_chunk->qc_headerbh, OCFS2_JOURNAL_ACCESS_WRITE); |
1212 | if (status < 0) { | 1212 | if (status < 0) { |
1213 | mlog_errno(status); | 1213 | mlog_errno(status); |