Merge branch 'jeffm-discard-4.3' into for-linus-4.3
[firefly-linux-kernel-4.4.55.git] / fs / btrfs / transaction.c
index 44da9299a25bf0e4d35942428a1be933880ba576..20267d47dbcd501dda238e7ff1ce0381137473a7 100644 (file)
@@ -1303,7 +1303,7 @@ static noinline int create_pending_snapshot(struct btrfs_trans_handle *trans,
         */
        btrfs_set_skip_qgroup(trans, objectid);
 
-       btrfs_reloc_pre_snapshot(trans, pending, &to_reserve);
+       btrfs_reloc_pre_snapshot(pending, &to_reserve);
 
        if (to_reserve > 0) {
                pending->error = btrfs_block_rsv_add(root,