qgroup.c (8632987380765dee716d460640aa58d58d52998e) | qgroup.c (7a1636089acfee7562fe79aff7d1b4c57869896d) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Copyright (C) 2011 STRATO. All rights reserved. 4 */ 5 6#include <linux/sched.h> 7#include <linux/pagemap.h> 8#include <linux/writeback.h> --- 1205 unchanged lines hidden (view full) --- 1214 goto out; 1215 } 1216 1217 list_del("a_root->dirty_list); 1218 1219 btrfs_tree_lock(quota_root->node); 1220 btrfs_clean_tree_block(quota_root->node); 1221 btrfs_tree_unlock(quota_root->node); | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Copyright (C) 2011 STRATO. All rights reserved. 4 */ 5 6#include <linux/sched.h> 7#include <linux/pagemap.h> 8#include <linux/writeback.h> --- 1205 unchanged lines hidden (view full) --- 1214 goto out; 1215 } 1216 1217 list_del("a_root->dirty_list); 1218 1219 btrfs_tree_lock(quota_root->node); 1220 btrfs_clean_tree_block(quota_root->node); 1221 btrfs_tree_unlock(quota_root->node); |
1222 btrfs_free_tree_block(trans, quota_root, quota_root->node, 0, 1); | 1222 btrfs_free_tree_block(trans, btrfs_root_id(quota_root), 1223 quota_root->node, 0, 1); |
1223 1224 btrfs_put_root(quota_root); 1225 1226out: 1227 mutex_unlock(&fs_info->qgroup_ioctl_lock); 1228 if (ret && trans) 1229 btrfs_end_transaction(trans); 1230 else if (trans) --- 3044 unchanged lines hidden --- | 1224 1225 btrfs_put_root(quota_root); 1226 1227out: 1228 mutex_unlock(&fs_info->qgroup_ioctl_lock); 1229 if (ret && trans) 1230 btrfs_end_transaction(trans); 1231 else if (trans) --- 3044 unchanged lines hidden --- |