Home Home > GIT Browse > openSUSE-42.3
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Mahoney <jeffm@suse.de>2010-04-09 12:24:53 -0400
committerJeff Mahoney <jeffm@suse.de>2010-04-09 12:24:53 -0400
commit7621175843901a97be5a91e05255ede5b66051bb (patch)
tree70cd0c54195aec408bcb88b9b319e9bbd0755286
parent49b5487a67fab2ec37682aaba42ade298bf2730a (diff)
- patches.fixes/reiserfs-remove-2-tb-file-size-limit: Fix issue onrpm-2.6.34-3
32-bit systems.
-rw-r--r--kernel-source.changes6
-rw-r--r--patches.fixes/reiserfs-remove-2-tb-file-size-limit2
2 files changed, 7 insertions, 1 deletions
diff --git a/kernel-source.changes b/kernel-source.changes
index 4d4f2d0497..4d90cd40ad 100644
--- a/kernel-source.changes
+++ b/kernel-source.changes
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Fri Apr 9 18:24:38 CEST 2010 - jeffm@suse.de
+
+- patches.fixes/reiserfs-remove-2-tb-file-size-limit: Fix issue on
+ 32-bit systems.
+
+-------------------------------------------------------------------
Fri Apr 9 10:29:45 CEST 2010 - knikanth@suse.de
- patches.fixes/loop-update-mtime.patch: loop: Update mtime when
diff --git a/patches.fixes/reiserfs-remove-2-tb-file-size-limit b/patches.fixes/reiserfs-remove-2-tb-file-size-limit
index 4f858332a9..84b2232b45 100644
--- a/patches.fixes/reiserfs-remove-2-tb-file-size-limit
+++ b/patches.fixes/reiserfs-remove-2-tb-file-size-limit
@@ -41,7 +41,7 @@ Acked-by: Jeff Mahoney <jeffm@suse.com>
+reiserfs_max_file_offset(struct super_block *sb)
+{
+ /* Limited by stat_data->sd_blocks, 2^32-1 blocks */
-+ loff_t fs_max = (sb->s_blocksize << 32) - sb->s_blocksize;
++ loff_t fs_max = ((u64)sb->s_blocksize << 32) - sb->s_blocksize;
+
+ /* Limited by 32-bit MAX_LFS_FILESIZE */
+ loff_t page_cache_max = (((u64)PAGE_CACHE_SIZE << 31)-1);