Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

nilfs2: nuke write_super from comments

The '->write_super' superblock method is gone, and this patch removes all the
references to 'write_super' from ntfs.

Cc: KONISHI Ryusuke <konishi.ryusuke@lab.ntt.co.jp>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

authored by

Artem Bityutskiy and committed by
Al Viro
166ac34b 50640bcc

-6
-4
fs/nilfs2/super.c
··· 676 676 .alloc_inode = nilfs_alloc_inode, 677 677 .destroy_inode = nilfs_destroy_inode, 678 678 .dirty_inode = nilfs_dirty_inode, 679 - /* .write_inode = nilfs_write_inode, */ 680 - /* .drop_inode = nilfs_drop_inode, */ 681 679 .evict_inode = nilfs_evict_inode, 682 680 .put_super = nilfs_put_super, 683 - /* .write_super = nilfs_write_super, */ 684 681 .sync_fs = nilfs_sync_fs, 685 682 .freeze_fs = nilfs_freeze, 686 683 .unfreeze_fs = nilfs_unfreeze, 687 684 .statfs = nilfs_statfs, 688 685 .remount_fs = nilfs_remount, 689 - /* .umount_begin */ 690 686 .show_options = nilfs_show_options 691 687 }; 692 688
-2
fs/nilfs2/the_nilfs.h
··· 107 107 * used for 108 108 * - loading the latest checkpoint exclusively. 109 109 * - allocating a new full segment. 110 - * - protecting s_dirt in the super_block struct 111 - * (see nilfs_write_super) and the following fields. 112 110 */ 113 111 struct buffer_head *ns_sbh[2]; 114 112 struct nilfs_super_block *ns_sbp[2];