aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/quota_local.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ocfs2/quota_local.c')
-rw-r--r--fs/ocfs2/quota_local.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ocfs2/quota_local.c b/fs/ocfs2/quota_local.c
index b5ddb22e6278..d451b715aefe 100644
--- a/fs/ocfs2/quota_local.c
+++ b/fs/ocfs2/quota_local.c
@@ -988,7 +988,7 @@ static struct ocfs2_quota_chunk *ocfs2_local_quota_add_chunk(
988 goto out_trans; 988 goto out_trans;
989 } 989 }
990 lock_buffer(bh); 990 lock_buffer(bh);
991 dchunk->dqc_free = ol_quota_entries_per_block(sb); 991 dchunk->dqc_free = cpu_to_le32(ol_quota_entries_per_block(sb));
992 memset(dchunk->dqc_bitmap, 0, 992 memset(dchunk->dqc_bitmap, 0,
993 sb->s_blocksize - sizeof(struct ocfs2_local_disk_chunk) - 993 sb->s_blocksize - sizeof(struct ocfs2_local_disk_chunk) -
994 OCFS2_QBLK_RESERVED_SPACE); 994 OCFS2_QBLK_RESERVED_SPACE);
@@ -1110,7 +1110,7 @@ out:
1110 return ERR_PTR(status); 1110 return ERR_PTR(status);
1111} 1111}
1112 1112
1113void olq_alloc_dquot(struct buffer_head *bh, void *private) 1113static void olq_alloc_dquot(struct buffer_head *bh, void *private)
1114{ 1114{
1115 int *offset = private; 1115 int *offset = private;
1116 struct ocfs2_local_disk_chunk *dchunk; 1116 struct ocfs2_local_disk_chunk *dchunk;