btrfs: make open_ctree error injectable
authorJosef Bacik <jbacik@fb.com>
Mon, 11 Dec 2017 16:36:47 +0000 (11:36 -0500)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 12 Dec 2017 16:56:26 +0000 (08:56 -0800)
commit8556e50994c8a8f5282fea008ae084d6d080648a
tree13ecb643022ec45e807c1febe66176b790d2ebc7
parent92ace9991da08827e809c2d120108a96a281e7fc
btrfs: make open_ctree error injectable

This allows us to do error injection with BPF for open_ctree.

Signed-off-by: Josef Bacik <jbacik@fb.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
fs/btrfs/disk-io.c