From: Andrew Morton Date: Tue, 29 Apr 2008 07:59:22 +0000 (-0700) Subject: codafs: fix build warning X-Git-Tag: v2.6.26-rc1~631 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=a2d416dcc92e576d0e339efd641bd3d8ee2bfb4d;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/coda/coda_linux.c b/fs/coda/coda_linux.c index 95a54253c04..e1c854890f9 100644 --- a/fs/coda/coda_linux.c +++ b/fs/coda/coda_linux.c @@ -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;