sparc32: Fix struct stat uid/gid types.
authorDavid S. Miller <davem@davemloft.net>
Mon, 22 Feb 2010 02:03:16 +0000 (18:03 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Feb 2010 02:03:16 +0000 (18:03 -0800)
commit2531be413b3f2f64c0282073de89fe52bbcbbab5
tree6b4499535867ebc3a06fac1b9d192b531e602adc
parent1f474646fdc36b457606bbcd6a3592e6cbd31ac4
sparc32: Fix struct stat uid/gid types.

Commit 085219f79cad89291699bd2bfb21c9fdabafe65f
("sparc32: use proper types in struct stat")

Accidently changed the struct stat uid/gid members
to uid_t and gid_t, but those get set to
__kernel_uid32_t and __kernel_gid32_t respectively.
Those are of type 'int' but the structure is meant
to have 'short'.  So use uid16_t and gid16_t to
correct this.

Reported-by: Rob Landley <rob@landley.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/stat.h