Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Lustre 2.15.0
-
None
-
3
-
9223372036854775807
Description
In osd-ldiskfs quota_read_blk we have this bit:
ret = sb->s_op->quota_read(sb, type, buf, LUSTRE_DQBLKSIZE, blk << LUSTRE_DQBLKSIZE_BITS);
where blk is uint and LUSTRE_DQBLKSIZE_BITS is 10. the last quota_read argument is loff_t, as such cast to some 64 bit type seems warranted to avoid a potential overflow.