]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commit558e85289fca3d3397882442d1a695936c4f2662
treede08e1f6d0e92fd0cbdcec7b4679ba3a61052b6b
parentf4108a607f75b073423eed229ee4f95e5fc10631
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