diff options
author | Andi Kleen <andi@firstfloor.org> | 2010-10-29 21:14:31 +0200 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2010-10-29 21:14:31 +0200 |
commit | 411fc6bcef54f828a5458f4730c68abdf13c6bf0 (patch) | |
tree | 89b91cd7e0d7633e9d6e386e388bd0493165f66c /fs/btrfs/root-tree.c | |
parent | Btrfs: Use ERR_CAST helpers (diff) | |
download | linux-411fc6bcef54f828a5458f4730c68abdf13c6bf0.tar.xz linux-411fc6bcef54f828a5458f4730c68abdf13c6bf0.zip |
Btrfs: Fix variables set but not read (bugs found by gcc 4.6)
These are all the cases where a variable is set, but not
read which are really bugs.
- Couple of incorrect error handling fixed.
- One incorrect use of a allocation policy
- Some other things
Still needs more review.
Found by gcc 4.6's new warnings.
[akpm@linux-foundation.org: fix build. Might have been bitrot]
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Chris Mason <chris.mason@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/root-tree.c')
0 files changed, 0 insertions, 0 deletions