diff options
| author | Chris Mason <[email protected]> | 2012-02-28 17:42:44 +0000 |
|---|---|---|
| committer | Chris Mason <[email protected]> | 2012-03-03 12:42:35 +0000 |
| commit | a175423c831ea582c06784d1e172d2ce1d79923a (patch) | |
| tree | 742ca97279da69c981008620a3d2f0c48acdf6f4 /fs/jbd2/commit.c | |
| parent | btrfs: fix locking issues in find_parent_nodes() (diff) | |
| download | kernel-a175423c831ea582c06784d1e172d2ce1d79923a.tar.gz kernel-a175423c831ea582c06784d1e172d2ce1d79923a.zip | |
Btrfs: fix casting error in scrub reada code
The reada code from scrub was casting down a u64 to
an unsigned long so it could insert it into a radix tree.
What it really wanted to do was cast down the result of a shift, instead
of casting down the u64. The bug resulted in trying to insert our
reada struct into the wrong place, which caused soft lockups and other
problems.
Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
