diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2008-03-14 14:14:56 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-03-19 18:00:34 -0400 |
commit | ecfc555a8327ff09b07066d73a98c04115007eec (patch) | |
tree | 304691e77d21b8cecfd529eddfdfb2ba3fdfac31 /fs/nfs/internal.h | |
parent | 82d101d58a2312297ee79f96d44c1d8c7fe1032d (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.h | 5 |
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); | |||
116 | extern int __init nfs_init_writepagecache(void); | 116 | extern int __init nfs_init_writepagecache(void); |
117 | extern void nfs_destroy_writepagecache(void); | 117 | extern void nfs_destroy_writepagecache(void); |
118 | 118 | ||
119 | #ifdef CONFIG_NFS_DIRECTIO | ||
120 | extern int __init nfs_init_directcache(void); | 119 | extern int __init nfs_init_directcache(void); |
121 | extern void nfs_destroy_directcache(void); | 120 | extern 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 */ |
128 | extern int nfs_stat_to_errno(int); | 123 | extern int nfs_stat_to_errno(int); |