]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/ocfs2/quota_local.c
quota: Store maximum space limit in bytes
[karo-tx-linux.git] / fs / ocfs2 / quota_local.c
index 55f832f553cb85290a1dc11ff7d5724c240edc65..89c0b26208144132585f30b0c29a350c83f9f196 100644 (file)
@@ -701,8 +701,8 @@ static int ocfs2_local_read_info(struct super_block *sb, int type)
        /* We don't need the lock and we have to acquire quota file locks
         * which will later depend on this lock */
        mutex_unlock(&sb_dqopt(sb)->dqio_mutex);
-       info->dqi_maxblimit = 0x7fffffffffffffffLL;
-       info->dqi_maxilimit = 0x7fffffffffffffffLL;
+       info->dqi_max_spc_limit = 0x7fffffffffffffffLL;
+       info->dqi_max_ino_limit = 0x7fffffffffffffffLL;
        oinfo = kmalloc(sizeof(struct ocfs2_mem_dqinfo), GFP_NOFS);
        if (!oinfo) {
                mlog(ML_ERROR, "failed to allocate memory for ocfs2 quota"