From: David Sterba Date: Thu, 12 May 2016 09:05:03 +0000 (+0200) Subject: btrfs: build fixup for qgroup_account_snapshot X-Git-Tag: v4.14-rc1~2972^2~15^2~3^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2c1984f244838477aab4e5882f4479491ae1084a;p=platform%2Fkernel%2Flinux-rpi.git 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: David Sterba --- diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c index d7172d7..5300813 100644 --- a/fs/btrfs/transaction.c +++ b/fs/btrfs/transaction.c @@ -1311,6 +1311,11 @@ int btrfs_defrag_root(struct btrfs_root *root) 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. *