[PATCH] xfs: remove a dmapi leftover

Alex Elder aelder at sgi.com
Fri Jul 9 07:52:39 CDT 2010


On Sat, 2010-07-03 at 05:21 -0400, Christoph Hellwig wrote:
> The open_exec file operation is only added by the external dmapi patch.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>

Looks good.

Reviewed-by: Alex Elder <aelder at sgi.com>

> Index: xfs/fs/xfs/linux-2.6/xfs_file.c
> ===================================================================
> --- xfs.orig/fs/xfs/linux-2.6/xfs_file.c	2010-07-03 10:54:07.323263955 +0200
> +++ xfs/fs/xfs/linux-2.6/xfs_file.c	2010-07-03 10:54:11.636128320 +0200
> @@ -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
> xfs at oss.sgi.com
> http://oss.sgi.com/mailman/listinfo/xfs






More information about the xfs mailing list