Skip to contentSkip to conversation

xfs: remove a dmapi leftover

PATCH In review Christoph Hellwig 2 participants 2 messages Jul 3, 2010 – Jul 9, 2010 XFS filesystem

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xfs: remove a dmapi leftover

The open_exec file operation is only added by the external dmapi patch.

fs/xfs/linux-2.6/xfs_file.c +0 -3
Index: xfs/fs/xfs/linux-2.6/xfs_file.c
===================================================================
@@ -921,9 +921,6 @@ const struct file_operations xfs_file_op
 	.open		= xfs_file_open,
 	.release	= xfs_file_release,
 	.fsync		= xfs_file_fsync,
-#ifdef HAVE_FOP_OPEN_EXEC
-	.open_exec	= xfs_file_open_exec,
-#endif
 };
 
 const struct file_operations xfs_dir_file_operations = {

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · Christoph Hellwig

The open_exec file operation is only added by the external dmapi patch.

Looks good.

Quoted 15 lines

Index: xfs/fs/xfs/linux-2.6/xfs_file.c
===================================================================

fs/xfs/linux-2.6/xfs_file.c +0 -3
@@ -921,9 +921,6 @@ const struct file_operations xfs_file_op
 	.open		= xfs_file_open,
 	.release	= xfs_file_release,
 	.fsync		= xfs_file_fsync,
-#ifdef HAVE_FOP_OPEN_EXEC
-	.open_exec	= xfs_file_open_exec,
-#endif
 };
 
 const struct file_operations xfs_dir_file_operations = {
Quoted 4 lines

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs