Skip to content
Browse files

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 <yshuiv7@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #873
  • Loading branch information...
1 parent a5c20e2 commit af26c4d4ab545767456d8c21ed48e9e01ce6a3e7 @yshui yshui committed with behlendorf Oct 13, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 module/zfs/zpl_super.c
View
1 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,

0 comments on commit af26c4d

Please sign in to comment.
Something went wrong with that request. Please try again.