summaryrefslogtreecommitdiffstats
path: root/fs/nfs/internal.h
diff options
context:
space:
mode:
authorChuck Lever2008-03-14 19:14:56 +0100
committerTrond Myklebust2008-03-19 23:00:34 +0100
commitecfc555a8327ff09b07066d73a98c04115007eec (patch)
tree304691e77d21b8cecfd529eddfdfb2ba3fdfac31 /fs/nfs/internal.h
parentNFS: Show most mount options via nfs_show_options() (diff)
downloadkernel-qcow2-linux-ecfc555a8327ff09b07066d73a98c04115007eec.tar.gz
kernel-qcow2-linux-ecfc555a8327ff09b07066d73a98c04115007eec.tar.xz
kernel-qcow2-linux-ecfc555a8327ff09b07066d73a98c04115007eec.zip
NFS: Always enable NFS direct I/O
Since O_DIRECT is a standard feature that is enabled in most distros, eliminate the CONFIG_NFS_DIRECTIO build option, and change the fs/nfs/Makefile to always build in the NFS direct I/O engine. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r--fs/nfs/internal.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h
index 999ad8ee0645..04ae867dddba 100644
--- a/fs/nfs/internal.h
+++ b/fs/nfs/internal.h
@@ -116,13 +116,8 @@ extern void nfs_destroy_readpagecache(void);
extern int __init nfs_init_writepagecache(void);
extern void nfs_destroy_writepagecache(void);
-#ifdef CONFIG_NFS_DIRECTIO
extern int __init nfs_init_directcache(void);
extern void nfs_destroy_directcache(void);
-#else
-#define nfs_init_directcache() (0)
-#define nfs_destroy_directcache() do {} while(0)
-#endif
/* nfs2xdr.c */
extern int nfs_stat_to_errno(int);