aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ntfs
diff options
context:
space:
mode:
authorFernando Luis Vazquez Cao <fernando@oss.ntt.co.jp>2012-07-30 17:39:10 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-07-30 20:25:11 -0400
commit32b4560b04af6e4fee241ea6de6db780eaf354f2 (patch)
tree34d597c9f158f77cc2bc675044251aa385b4862f /fs/ntfs
parentf1fd75bfa07822b1de314062baff3280419a8bf4 (diff)
ntfs: remove references to long gone super operations and unimplemented methods
->delete_inode(), ->write_super_lockfs(), ->unlockfs() are gone so remove refereces to them in the NTFS code. Remove unnecessary comments about unimplemented methods while at it (suggested by Christoph Hellwig). Noticed while cleaning up the fsfreeze mess. Signed-off-by: Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp> Cc: Anton Altaparmakov <anton@tuxera.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ntfs')
-rw-r--r--fs/ntfs/super.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/fs/ntfs/super.c b/fs/ntfs/super.c
index b341492542ca..2bc149d6a784 100644
--- a/fs/ntfs/super.c
+++ b/fs/ntfs/super.c
@@ -2660,31 +2660,14 @@ static const struct super_operations ntfs_sops = {
2660 .alloc_inode = ntfs_alloc_big_inode, /* VFS: Allocate new inode. */ 2660 .alloc_inode = ntfs_alloc_big_inode, /* VFS: Allocate new inode. */
2661 .destroy_inode = ntfs_destroy_big_inode, /* VFS: Deallocate inode. */ 2661 .destroy_inode = ntfs_destroy_big_inode, /* VFS: Deallocate inode. */
2662#ifdef NTFS_RW 2662#ifdef NTFS_RW
2663 //.dirty_inode = NULL, /* VFS: Called from
2664 // __mark_inode_dirty(). */
2665 .write_inode = ntfs_write_inode, /* VFS: Write dirty inode to 2663 .write_inode = ntfs_write_inode, /* VFS: Write dirty inode to
2666 disk. */ 2664 disk. */
2667 //.drop_inode = NULL, /* VFS: Called just after the
2668 // inode reference count has
2669 // been decreased to zero.
2670 // NOTE: The inode lock is
2671 // held. See fs/inode.c::
2672 // generic_drop_inode(). */
2673 //.delete_inode = NULL, /* VFS: Delete inode from disk.
2674 // Called when i_count becomes
2675 // 0 and i_nlink is also 0. */
2676 //.write_super = NULL, /* Flush dirty super block to
2677 // disk. */
2678 //.sync_fs = NULL, /* ? */
2679 //.write_super_lockfs = NULL, /* ? */
2680 //.unlockfs = NULL, /* ? */
2681#endif /* NTFS_RW */ 2665#endif /* NTFS_RW */
2682 .put_super = ntfs_put_super, /* Syscall: umount. */ 2666 .put_super = ntfs_put_super, /* Syscall: umount. */
2683 .statfs = ntfs_statfs, /* Syscall: statfs */ 2667 .statfs = ntfs_statfs, /* Syscall: statfs */
2684 .remount_fs = ntfs_remount, /* Syscall: mount -o remount. */ 2668 .remount_fs = ntfs_remount, /* Syscall: mount -o remount. */
2685 .evict_inode = ntfs_evict_big_inode, /* VFS: Called when an inode is 2669 .evict_inode = ntfs_evict_big_inode, /* VFS: Called when an inode is
2686 removed from memory. */ 2670 removed from memory. */
2687 //.umount_begin = NULL, /* Forced umount. */
2688 .show_options = ntfs_show_options, /* Show mount options in 2671 .show_options = ntfs_show_options, /* Show mount options in
2689 proc. */ 2672 proc. */
2690}; 2673};