]> git.hungrycats.org Git - linux/commitdiff
btrfs: remove a no-op unfreeze superbock callback
authorDavid Sterba <dsterba@suse.cz>
Tue, 20 Jan 2015 18:05:37 +0000 (19:05 +0100)
committerZygo Blaxell <zblaxell@waya.furryterror.org>
Sat, 7 Mar 2015 22:01:49 +0000 (17:01 -0500)
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
(cherry picked from commit 730a78c741df4eaa24589015191f03c2d1240091)

fs/btrfs/super.c

index 6f49b2872a6454330bac0ef912be3d0152e2ef4f..05fef198ff94fc8df4eb126a62195af8452fb18d 100644 (file)
@@ -1958,11 +1958,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);
@@ -2011,7 +2006,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 = {