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
This commit is contained in:
Yuxuan Shui 2012-10-13 18:44:15 -07:00 committed by Brian Behlendorf
parent a5c20e2a0a
commit af26c4d4ab

View File

@ -316,7 +316,6 @@ const struct super_operations zpl_super_operations = {
.delete_inode = zpl_inode_delete, .delete_inode = zpl_inode_delete,
#endif /* HAVE_EVICT_INODE */ #endif /* HAVE_EVICT_INODE */
.put_super = zpl_put_super, .put_super = zpl_put_super,
.write_super = NULL,
.sync_fs = zpl_sync_fs, .sync_fs = zpl_sync_fs,
.statfs = zpl_statfs, .statfs = zpl_statfs,
.remount_fs = zpl_remount_fs, .remount_fs = zpl_remount_fs,