xfs-masters
[Top] [All Lists]

[xfs-masters] [Bug 420] New: xfs_qm_quotactl handling large id's

To: xfs-master@xxxxxxxxxxx
Subject: [xfs-masters] [Bug 420] New: xfs_qm_quotactl handling large id's
From: bugzilla-daemon@xxxxxxxxxxx
Date: Sat, 10 Sep 2005 22:40:40 -0700
Reply-to: xfs-masters@xxxxxxxxxxx
Sender: xfs-masters-bounce@xxxxxxxxxxx
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.


<Prev in Thread] Current Thread [Next in Thread>
  • [xfs-masters] [Bug 420] New: xfs_qm_quotactl handling large id's, bugzilla-daemon <=