Btrfs: return value of btrfs_read_buffer is checked correctly
authorTsutomu Itoh <t-itoh@jp.fujitsu.com>
Tue, 29 May 2012 09:10:13 +0000 (18:10 +0900)
committerJosef Bacik <josef@redhat.com>
Wed, 30 May 2012 14:23:41 +0000 (10:23 -0400)
commit018642a1f197887058e97291460b890d296e8953
tree5fc77a516728d0281873dc19f66ef9ca9e92ae34
parent733f4fbbc1083aa343da739f46ee839705d6cfe3
Btrfs: return value of btrfs_read_buffer is checked correctly

btrfs_read_buffer() has the possibility of returning the error.
Therefore, I add the code in which the return value of btrfs_read_buffer()
is checked.

Signed-off-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
fs/btrfs/ctree.c
fs/btrfs/tree-log.c