aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/internal.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2008-03-14 14:14:56 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-03-19 18:00:34 -0400
commitecfc555a8327ff09b07066d73a98c04115007eec (patch)
tree304691e77d21b8cecfd529eddfdfb2ba3fdfac31 /fs/nfs/internal.h
parent82d101d58a2312297ee79f96d44c1d8c7fe1032d (diff)
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);
116extern int __init nfs_init_writepagecache(void); 116extern int __init nfs_init_writepagecache(void);
117extern void nfs_destroy_writepagecache(void); 117extern void nfs_destroy_writepagecache(void);
118 118
119#ifdef CONFIG_NFS_DIRECTIO
120extern int __init nfs_init_directcache(void); 119extern int __init nfs_init_directcache(void);
121extern void nfs_destroy_directcache(void); 120extern void nfs_destroy_directcache(void);
122#else
123#define nfs_init_directcache() (0)
124#define nfs_destroy_directcache() do {} while(0)
125#endif
126 121
127/* nfs2xdr.c */ 122/* nfs2xdr.c */
128extern int nfs_stat_to_errno(int); 123extern int nfs_stat_to_errno(int);