btrfs: build fixup for qgroup_account_snapshot
authorDavid Sterba <dsterba@suse.com>
Thu, 12 May 2016 09:05:03 +0000 (11:05 +0200)
committerDavid Sterba <dsterba@suse.com>
Thu, 12 May 2016 09:05:03 +0000 (11:05 +0200)
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 <dsterba@suse.com>
fs/btrfs/transaction.c

index d7172d7..5300813 100644 (file)
@@ -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.
  *