]> git.baikalelectronics.ru Git - kernel.git/commit
gfs2: Report quotas in the caller's user namespace.
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 1 Feb 2013 02:15:33 +0000 (18:15 -0800)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 13 Feb 2013 14:15:02 +0000 (06:15 -0800)
commit8bf327b36e42cbeeb9d09fa34d0e0830095b265f
treede08e1f6d0e92fd0cbdcec7b4679ba3a61052b6b
parentb7488d71437c1544b7a492124ae20592b1174b4a
gfs2: Report quotas in the caller's user namespace.

When a quota is queried return the uid or the gid in the mapped into
the caller's user namespace.  In addition perform the munged version
of the mapping so that instead of -1 a value that does not map is
reported as the overflowuid or the overflowgid.

Cc: Steven Whitehouse <swhiteho@redhat.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
fs/gfs2/quota.c