|
@@ -1511,17 +1511,11 @@ static long btrfs_control_ioctl(struct file *file, unsigned int cmd,
|
|
|
|
|
|
static int btrfs_freeze(struct super_block *sb)
|
|
static int btrfs_freeze(struct super_block *sb)
|
|
{
|
|
{
|
|
- struct btrfs_fs_info *fs_info = btrfs_sb(sb);
|
|
|
|
- mutex_lock(&fs_info->transaction_kthread_mutex);
|
|
|
|
- mutex_lock(&fs_info->cleaner_mutex);
|
|
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|
|
static int btrfs_unfreeze(struct super_block *sb)
|
|
static int btrfs_unfreeze(struct super_block *sb)
|
|
{
|
|
{
|
|
- struct btrfs_fs_info *fs_info = btrfs_sb(sb);
|
|
|
|
- mutex_unlock(&fs_info->cleaner_mutex);
|
|
|
|
- mutex_unlock(&fs_info->transaction_kthread_mutex);
|
|
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|