patch-2.4.22 linux-2.4.22/fs/nfs/file.c

Next file: linux-2.4.22/fs/nfs/nfs3proc.c
Previous file: linux-2.4.22/fs/nfs/direct.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/fs/nfs/file.c linux-2.4.22/fs/nfs/file.c
@@ -16,6 +16,7 @@
  *  nfs regular file handling functions
  */
 
+#include <linux/config.h>
 #include <linux/sched.h>
 #include <linux/kernel.h>
 #include <linux/errno.h>
@@ -199,6 +200,9 @@
 	readpage: nfs_readpage,
 	sync_page: nfs_sync_page,
 	writepage: nfs_writepage,
+#ifdef CONFIG_NFS_DIRECTIO
+	direct_fileIO: nfs_direct_IO,
+#endif
 	prepare_write: nfs_prepare_write,
 	commit_write: nfs_commit_write
 };

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)