From 169a064cf76620b3e104a5236d87dd3d1032d812 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Sat, 11 Sep 2010 10:55:25 -0700 Subject: [PATCH] --- yaml --- r: 210870 b: refs/heads/master c: a77d9f7dce7600058d56f0670ed29d77abffcde2 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/ceph/addr.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index d6caea04a595..75218ae7003a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3612abbd5df6baa9ca3e0777c6c8646e202d3f66 +refs/heads/master: a77d9f7dce7600058d56f0670ed29d77abffcde2 diff --git a/trunk/fs/ceph/addr.c b/trunk/fs/ceph/addr.c index 4cfce1ee31fa..50461b8c23a4 100644 --- a/trunk/fs/ceph/addr.c +++ b/trunk/fs/ceph/addr.c @@ -766,7 +766,8 @@ static int ceph_writepages_start(struct address_space *mapping, /* ok */ if (locked_pages == 0) { /* prepare async write request */ - offset = page->index << PAGE_CACHE_SHIFT; + offset = (unsigned long long)page->index + << PAGE_CACHE_SHIFT; len = wsize; req = ceph_osdc_new_request(&client->osdc, &ci->i_layout,