commit | 7b875affd49fbc8978a1a898a0a80ebfff11f8c6 | [log] [tgz] |
---|---|---|
author | Anton Altaparmakov <aia21@cantab.net> | Fri Feb 24 10:04:22 2006 +0000 |
committer | Anton Altaparmakov <aia21@cantab.net> | Fri Feb 24 10:04:22 2006 +0000 |
tree | c611237ddce08f33c858254a67c4858fe643861d | |
parent | 3672b638ec1d5b1020ea27986060b830f09c96c1 [diff] | |
parent | 944d79559d154c12becde0dab327016cf438f46c [diff] |
Merge ../ntfs-2.6-devel
diff --git a/fs/ntfs/file.c b/fs/ntfs/file.c index fb413d3..3a119a8 100644 --- a/fs/ntfs/file.c +++ b/fs/ntfs/file.c
@@ -248,7 +248,7 @@ * 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);