Linux NILFS development
 help / color / mirror / Atom feed
* [PATCH] NILFS2: remove references to long gone super operations
@ 2012-07-04 10:10 Fernando Luis Vazquez Cao
       [not found] ` <4FF4169C.3030407-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Fernando Luis Vazquez Cao @ 2012-07-04 10:10 UTC (permalink / raw)
  To: KONISHI Ryusuke; +Cc: linux-nilfs-u79uwXL29TY76Z2rM5mHXA

[-- Attachment #1: Type: text/plain, Size: 1 bytes --]



[-- Attachment #2: nilfs2-remove-references-to-long-gone-super_operations.patch --]
[-- Type: text/x-patch, Size: 1274 bytes --]

Subject: NILFS2: remove references to long gone super operations

From: Fernando Luis Vazquez Cao <fernando-gVGce1chcLdL9jVzuh4AOg@public.gmane.org>

->delete_inode(), ->write_super_lockfs(), ->unlockfs() are gone so remove
refereces to them in the NTFS code. Noticed while cleaning up the fsfreeze
mess.

Signed-off-by: Fernando Luis Vazquez Cao <fernando-gVGce1chcLdL9jVzuh4AOg@public.gmane.org>
---

diff -urNp linux-3.5-rc5-orig/fs/nilfs2/super.c linux-3.5-rc5/fs/nilfs2/super.c
--- linux-3.5-rc5-orig/fs/nilfs2/super.c	2012-05-21 07:29:13.000000000 +0900
+++ linux-3.5-rc5/fs/nilfs2/super.c	2012-07-04 19:04:48.863112670 +0900
@@ -677,7 +677,6 @@ static const struct super_operations nil
 	.destroy_inode  = nilfs_destroy_inode,
 	.dirty_inode    = nilfs_dirty_inode,
 	/* .write_inode    = nilfs_write_inode, */
-	/* .put_inode      = nilfs_put_inode, */
 	/* .drop_inode	  = nilfs_drop_inode, */
 	.evict_inode    = nilfs_evict_inode,
 	.put_super      = nilfs_put_super,
@@ -685,8 +684,6 @@ static const struct super_operations nil
 	.sync_fs        = nilfs_sync_fs,
 	.freeze_fs	= nilfs_freeze,
 	.unfreeze_fs	= nilfs_unfreeze,
-	/* .write_super_lockfs */
-	/* .unlockfs */
 	.statfs         = nilfs_statfs,
 	.remount_fs     = nilfs_remount,
 	/* .umount_begin */

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] NILFS2: remove references to long gone super operations
       [not found] ` <4FF4169C.3030407-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org>
@ 2012-07-04 10:57   ` Ryusuke Konishi
  0 siblings, 0 replies; 2+ messages in thread
From: Ryusuke Konishi @ 2012-07-04 10:57 UTC (permalink / raw)
  To: fernando_b1-Zyj7fXuS5i5L9jVzuh4AOg; +Cc: linux-nilfs-u79uwXL29TY76Z2rM5mHXA

Hi Fernando,
On Wed, 04 Jul 2012 19:10:36 +0900, Fernando Luis Vazquez Cao wrote:
> Subject: NILFS2: remove references to long gone super operations
> 
> From: Fernando Luis Vazquez Cao <fernando-gVGce1chcLdL9jVzuh4AOg@public.gmane.org>
> 
> ->delete_inode(), ->write_super_lockfs(), ->unlockfs() are gone so remove
> refereces to them in the NTFS code. Noticed while cleaning up the fsfreeze
> mess.
> 
> Signed-off-by: Fernando Luis Vazquez Cao <fernando-gVGce1chcLdL9jVzuh4AOg@public.gmane.org>

Thanks.  I'll grab this up.

Ryusuke Konishi

> ---
> 
> diff -urNp linux-3.5-rc5-orig/fs/nilfs2/super.c linux-3.5-rc5/fs/nilfs2/super.c
> --- linux-3.5-rc5-orig/fs/nilfs2/super.c	2012-05-21 07:29:13.000000000 +0900
> +++ linux-3.5-rc5/fs/nilfs2/super.c	2012-07-04 19:04:48.863112670 +0900
> @@ -677,7 +677,6 @@ static const struct super_operations nil
>  	.destroy_inode  = nilfs_destroy_inode,
>  	.dirty_inode    = nilfs_dirty_inode,
>  	/* .write_inode    = nilfs_write_inode, */
> -	/* .put_inode      = nilfs_put_inode, */
>  	/* .drop_inode	  = nilfs_drop_inode, */
>  	.evict_inode    = nilfs_evict_inode,
>  	.put_super      = nilfs_put_super,
> @@ -685,8 +684,6 @@ static const struct super_operations nil
>  	.sync_fs        = nilfs_sync_fs,
>  	.freeze_fs	= nilfs_freeze,
>  	.unfreeze_fs	= nilfs_unfreeze,
> -	/* .write_super_lockfs */
> -	/* .unlockfs */
>  	.statfs         = nilfs_statfs,
>  	.remount_fs     = nilfs_remount,
>  	/* .umount_begin */
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-07-04 10:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-04 10:10 [PATCH] NILFS2: remove references to long gone super operations Fernando Luis Vazquez Cao
     [not found] ` <4FF4169C.3030407-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org>
2012-07-04 10:57   ` Ryusuke Konishi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox