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)
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

Simple merge
Simple merge