Linux 2.6.29 compat, .freeze_fs/.unfreeze_fs
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 22 Mar 2011 18:22:49 +0000 (11:22 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 22 Mar 2011 19:17:24 +0000 (12:17 -0700)
The .freeze_fs/.unfreeze_fs hooks were not added until Linux 2.6.29
Since these hooks are currently unused they are being removed to
allow support of older kernels.

module/zfs/zpl_super.c

index 6524a65..d3037f4 100644 (file)
@@ -204,8 +204,6 @@ const struct super_operations zpl_super_operations = {
        .put_super      = zpl_put_super,
        .write_super    = NULL,
        .sync_fs        = zpl_sync_fs,
-       .freeze_fs      = NULL,
-       .unfreeze_fs    = NULL,
        .statfs         = zpl_statfs,
        .remount_fs     = zpl_remount_fs,
        .show_options   = zpl_show_options,