From: David Sterba <dsterba@suse.cz>
Date: Tue, 20 Jan 2015 18:05:37 +0000 (+0100)
Subject: btrfs: remove a no-op unfreeze superbock callback
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=730a78c741df4eaa24589015191f03c2d1240091;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git

btrfs: remove a no-op unfreeze superbock callback

Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
---

diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index 60f7cbe815e9..100a0442c413 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -1948,11 +1948,6 @@ static int btrfs_freeze(struct super_block *sb)
 	return btrfs_commit_transaction(trans, root);
 }
 
-static int btrfs_unfreeze(struct super_block *sb)
-{
-	return 0;
-}
-
 static int btrfs_show_devname(struct seq_file *m, struct dentry *root)
 {
 	struct btrfs_fs_info *fs_info = btrfs_sb(root->d_sb);
@@ -2001,7 +1996,6 @@ static const struct super_operations btrfs_super_ops = {
 	.statfs		= btrfs_statfs,
 	.remount_fs	= btrfs_remount,
 	.freeze_fs	= btrfs_freeze,
-	.unfreeze_fs	= btrfs_unfreeze,
 };
 
 static const struct file_operations btrfs_ctl_fops = {