b=13904
i=johann
i=tianzy
Quota data should not be stored in a 32-bit variable. Use __u64 instead.
/* update local operational quota file */
if (rc == 0) {
- __u32 count = QUSG(qdata->qd_count, QDATA_IS_BLK(qdata));
+ __u64 count = QUSG(qdata->qd_count, QDATA_IS_BLK(qdata));
struct obd_quotactl *qctl;
__u64 *hardlimit;
break;
case QUOTA_DQREL:
LASSERTF(count < *hardlimit,
- "count: %d, hardlimit: "LPU64".\n",
+ "count: "LPU64", hardlimit: "LPU64".\n",
count, *hardlimit);
*hardlimit -= count;
break;