mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
codafs: fix build warning
powerpc: fs/coda/coda_linux.c: In function 'coda_iattr_to_vattr': fs/coda/coda_linux.c:137: warning: large integer implicitly truncated to unsigned type Cc: Jan Harkes <jaharkes@cs.cmu.edu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
7afea3bcb1
commit
a2d416dcc9
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ void coda_iattr_to_vattr(struct iattr *iattr, struct coda_vattr *vattr)
|
|||
unsigned int valid;
|
||||
|
||||
/* clean out */
|
||||
vattr->va_mode = (umode_t) -1;
|
||||
vattr->va_mode = -1;
|
||||
vattr->va_uid = (vuid_t) -1;
|
||||
vattr->va_gid = (vgid_t) -1;
|
||||
vattr->va_size = (off_t) -1;
|
||||
|
|
Loading…
Reference in a new issue