Btrfs: fix to catch all errors when resolving indirect ref
authorWang Shilong <wangsl.fnst@cn.fujitsu.com>
Thu, 23 Jan 2014 05:47:49 +0000 (13:47 +0800)
committerChris Mason <clm@fb.com>
Wed, 29 Jan 2014 15:06:23 +0000 (07:06 -0800)
commit95def2ede1a9dd12b164932eaf5fefb67aefc41c
treeb9af144d22220cbbc08ce544ad0f0ea83a2e1537
parent538f72cdf03cad1c21c551ea542c8ce7d9fa2d81
Btrfs: fix to catch all errors when resolving indirect ref

We can only tolerate ENOENT here, for other errors, we should
return directly.

Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/backref.c