projects
/
powerpc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
0f36b01
)
Merge branch 'master' of /usr/src/ntfs-2.6/
author
Anton Altaparmakov
<aia21@cantab.net>
Thu, 19 Jan 2006 16:39:33 +0000
(16:39 +0000)
committer
Anton Altaparmakov
<aia21@cantab.net>
Thu, 19 Jan 2006 16:39:33 +0000
(16:39 +0000)
fs/ntfs/file.c
patch
|
blob
|
history
diff --git
a/fs/ntfs/file.c
b/fs/ntfs/file.c
index
fb413d3
..
3a119a8
100644
(file)
--- a/
fs/ntfs/file.c
+++ b/
fs/ntfs/file.c
@@
-248,7
+248,7
@@
do_non_resident_extend:
* enough to make ntfs_writepage() work.
*/
write_lock_irqsave(&ni->size_lock, flags);
- ni->initialized_size = (index + 1) << PAGE_CACHE_SHIFT;
+ ni->initialized_size = (
s64)(
index + 1) << PAGE_CACHE_SHIFT;
if (ni->initialized_size > new_init_size)
ni->initialized_size = new_init_size;
write_unlock_irqrestore(&ni->size_lock, flags);