projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eeaa3d4
)
Orangefs: large integer implicitly truncated to unsigned type
author
Mike Marshall
<hubcap@omnibond.com>
Thu, 30 Jul 2015 19:34:04 +0000
(15:34 -0400)
committer
Mike Marshall
<hubcap@omnibond.com>
Sat, 3 Oct 2015 15:40:04 +0000
(11:40 -0400)
make.cross ARCH=tile doesn't like "inode->i_bytes = PAGE_CACHE_SIZE;",
so cast PAGE_CACHE_SIZE to unsigned short.
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
fs/orangefs/pvfs2-utils.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/orangefs/pvfs2-utils.c
b/fs/orangefs/pvfs2-utils.c
index 8d4411ca118fcb72b225785f2a0cbecf7f076f2d..6eecb1861acaf580b183a41d94d161a64b9b741b 100644
(file)
--- a/
fs/orangefs/pvfs2-utils.c
+++ b/
fs/orangefs/pvfs2-utils.c
@@
-163,7
+163,7
@@
static int copy_attributes_to_inode(struct inode *inode,
/*FALLTHRU*/
default:
pvfs2_lock_inode(inode);
- inode->i_bytes = PAGE_CACHE_SIZE;
+ inode->i_bytes =
(unsigned short)
PAGE_CACHE_SIZE;
inode->i_blocks = (unsigned long)(PAGE_CACHE_SIZE / 512);
pvfs2_unlock_inode(inode);