Commit 2c1984f2 authored by David Sterba's avatar David Sterba

btrfs: build fixup for qgroup_account_snapshot

The macro btrfs_std_error got renamed to btrfs_handle_fs_error in an
independent branch for the same merge target (4.7). To make the code
compilable for bisectability reasons, add a temporary stub.
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 6426c7ad
...@@ -1311,6 +1311,11 @@ int btrfs_defrag_root(struct btrfs_root *root) ...@@ -1311,6 +1311,11 @@ int btrfs_defrag_root(struct btrfs_root *root)
return ret; return ret;
} }
/* Bisesctability fixup, remove in 4.8 */
#ifndef btrfs_std_error
#define btrfs_std_error btrfs_handle_fs_error
#endif
/* /*
* Do all special snapshot related qgroup dirty hack. * Do all special snapshot related qgroup dirty hack.
* *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment