diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-09 18:09:18 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-09 18:09:18 -0800 |
commit | 86e06008338e5712603613a0f6770500f79e83bd (patch) | |
tree | 53d8e522e7d876b52c09bcbefac80836b3ceaa5c /fs/btrfs/reada.c | |
parent | be22aece684f5a700e6247b9861c3759d5798a3c (diff) | |
parent | a175423c831ea582c06784d1e172d2ce1d79923a (diff) | |
download | linux-3.10-86e06008338e5712603613a0f6770500f79e83bd.tar.gz linux-3.10-86e06008338e5712603613a0f6770500f79e83bd.tar.bz2 linux-3.10-86e06008338e5712603613a0f6770500f79e83bd.zip |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs
Pull btrfs updates from Chris Mason:
"I have two additional and btrfs fixes in my for-linus branch. One is
a casting error that leads to memory corruption on i386 during scrub,
and the other fixes a corner case in the backref walking code (also
triggered by scrub)."
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs:
Btrfs: fix casting error in scrub reada code
btrfs: fix locking issues in find_parent_nodes()
Diffstat (limited to 'fs/btrfs/reada.c')
-rw-r--r-- | fs/btrfs/reada.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/reada.c b/fs/btrfs/reada.c index 2373b39a132..22db04550f6 100644 --- a/fs/btrfs/reada.c +++ b/fs/btrfs/reada.c @@ -305,7 +305,7 @@ again: spin_lock(&fs_info->reada_lock); ret = radix_tree_insert(&dev->reada_zones, - (unsigned long)zone->end >> PAGE_CACHE_SHIFT, + (unsigned long)(zone->end >> PAGE_CACHE_SHIFT), zone); spin_unlock(&fs_info->reada_lock); |