Просмотр исходного кода

xfs: remove a dmapi leftover

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

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alex Elder <aelder@sgi.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
Christoph Hellwig 15 лет назад
Родитель
Сommit
fa17b25e9f
1 измененных файлов с 0 добавлено и 3 удалено
  1. 0 3
      fs/xfs/linux-2.6/xfs_file.c

+ 0 - 3
fs/xfs/linux-2.6/xfs_file.c

@@ -921,9 +921,6 @@ const struct file_operations xfs_file_operations = {
 	.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 = {