http://oss.sgi.com/bugzilla/show_bug.cgi?id=420
Summary: xfs_qm_quotactl handling large id's
Product: Linux XFS
Version: Current
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: XFS kernel code
AssignedTo: xfs-master@xxxxxxxxxxx
ReportedBy: mkent@xxxxxxxxxxxx
In trying to enable quotas for very high uids, right up to the 32bit limit, I've
been getting some odd EINVAL errors from setquota. I think I've tracked the
problem to xfs_qm_quotactl in fs/xfs/quota/xfs_qm_syscalls.c, here to be
specific
if (id < 0 && cmd != Q_SYNC)
return XFS_ERROR(EINVAL);
since id is signed the comparaison will fail for uid/gids higher than
2147483647.
Sorry for not testing and submitting a patch, too busy right now.
--
Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
|