| commit | 2531be413b3f2f64c0282073de89fe52bbcbbab5 | [log] [tgz] |
|---|---|---|
| author | David S. Miller <davem@davemloft.net> | Sun Feb 21 18:03:16 2010 -0800 |
| committer | David S. Miller <davem@davemloft.net> | Sun Feb 21 18:03:16 2010 -0800 |
| tree | 6b4499535867ebc3a06fac1b9d192b531e602adc | |
| parent | 1f474646fdc36b457606bbcd6a3592e6cbd31ac4 [diff] |
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>