]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: idmap use u32 not uid_t as the intermediate type
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 2 Feb 2013 11:54:35 +0000 (03:54 -0800)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 13 Feb 2013 14:15:37 +0000 (06:15 -0800)
commitb13fed1ddb00eef56b42f95438df76fe6eb2e87f
tree2de3561dadf97fe79e7d294af9f79548c77cfbc6
parentc39e48547e525e5f728e5eb1270d57c976dc4807
nfsd: idmap use u32 not uid_t as the intermediate type

u32 and uid_t have the same size and semantics so this change
should have no operational effect.  This just removes the WTF
factor when looking at variables that hold both uids and gids
whos type is uid_t.

Cc: "J. Bruce Fields" <bfields@fieldses.org>
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
fs/nfsd/nfs4idmap.c