Linux 3.6 compat, sops->write_super() removed
authorYuxuan Shui <yshuiv7@gmail.com>
Sun, 14 Oct 2012 01:44:15 +0000 (18:44 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Sun, 14 Oct 2012 18:33:56 +0000 (11:33 -0700)
The .write_super callback was removed the the super_operations
structure by Linux commit f0cd2dbb6cf387c11f87265462e370bb5469299e.
All file systems are now expected to self manage writing any dirty
state assoicated with their super block.

ZFS never made use of this callback so it can simply be removed
from the super_operations structure.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #873

module/zfs/zpl_super.c

index 29d7f7d..fd4f691 100644 (file)
@@ -316,7 +316,6 @@ const struct super_operations zpl_super_operations = {
        .delete_inode           = zpl_inode_delete,
 #endif /* HAVE_EVICT_INODE */
        .put_super              = zpl_put_super,
-       .write_super            = NULL,
        .sync_fs                = zpl_sync_fs,
        .statfs                 = zpl_statfs,
        .remount_fs             = zpl_remount_fs,