]> 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)
commit735a05203065daaa77fa8f32ead26d70a2e49402
treede08e1f6d0e92fd0cbdcec7b4679ba3a61052b6b
parent31d067ac1b116d21380647b22b2e70c554964fad
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