diff options
Diffstat (limited to 'fs/btrfs/transaction.c')
-rw-r--r-- | fs/btrfs/transaction.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c index bdfe05cf26c6..4af1c0dab7f8 100644 --- a/fs/btrfs/transaction.c +++ b/fs/btrfs/transaction.c | |||
@@ -169,7 +169,7 @@ int btrfs_write_and_wait_transaction(struct btrfs_trans_handle *trans, | |||
169 | clear_extent_dirty(dirty_pages, start, end, GFP_NOFS); | 169 | clear_extent_dirty(dirty_pages, start, end, GFP_NOFS); |
170 | while(start <= end) { | 170 | while(start <= end) { |
171 | index = start >> PAGE_CACHE_SHIFT; | 171 | index = start >> PAGE_CACHE_SHIFT; |
172 | start = (index + 1) << PAGE_CACHE_SHIFT; | 172 | start = (u64)(index + 1) << PAGE_CACHE_SHIFT; |
173 | page = find_lock_page(btree_inode->i_mapping, index); | 173 | page = find_lock_page(btree_inode->i_mapping, index); |
174 | if (!page) | 174 | if (!page) |
175 | continue; | 175 | continue; |