summaryrefslogtreecommitdiff
path: root/fs/btrfs/backref.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2011-12-06 08:11:27 +0100
committerIngo Molnar <mingo@elte.hu>2011-12-06 08:11:33 +0100
commit7119a341f35b0a3ddcf426818267980057c770a1 (patch)
tree37e3b68d02bfc6f7759bf711e00d612ba86865b5 /fs/btrfs/backref.c
parent87cdee71166fa107c5dc8e43060eeefa533c6a3b (diff)
parent5611cc4572e889b62a7b4c72a413536bf6a9c416 (diff)
Merge commit 'v3.2-rc4' into core/locking
Merge reason: Pick up post-rc1 fixes. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'fs/btrfs/backref.c')
-rw-r--r--fs/btrfs/backref.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/backref.c b/fs/btrfs/backref.c
index 8855aad3929c..22c64fff1bd5 100644
--- a/fs/btrfs/backref.c
+++ b/fs/btrfs/backref.c
@@ -683,7 +683,7 @@ static int inode_to_path(u64 inum, struct btrfs_inode_ref *iref,
return PTR_ERR(fspath);
if (fspath > fspath_min) {
- ipath->fspath->val[i] = (u64)fspath;
+ ipath->fspath->val[i] = (u64)(unsigned long)fspath;
++ipath->fspath->elem_cnt;
ipath->fspath->bytes_left = fspath - fspath_min;
} else {