summaryrefslogtreecommitdiffstats
path: root/module/zfs/zpl_super.c
diff options
context:
space:
mode:
authorYuxuan Shui <[email protected]>2012-10-13 18:44:15 -0700
committerBrian Behlendorf <[email protected]>2012-10-14 11:33:56 -0700
commitaf26c4d4ab545767456d8c21ed48e9e01ce6a3e7 (patch)
tree925944f2877cd5de6aa9313b4de7054b8f3d252c /module/zfs/zpl_super.c
parenta5c20e2a0a9046c06d86615fbf51dc04f12bba14 (diff)
Linux 3.6 compat, sops->write_super() removed
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 <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Issue #873
Diffstat (limited to 'module/zfs/zpl_super.c')
-rw-r--r--module/zfs/zpl_super.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/module/zfs/zpl_super.c b/module/zfs/zpl_super.c
index 29d7f7dfb..fd4f691e1 100644
--- a/module/zfs/zpl_super.c
+++ b/module/zfs/zpl_super.c
@@ -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,