aboutsummaryrefslogtreecommitdiffstats
path: root/fs/coda/dir.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-03-24 06:15:53 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-24 10:33:21 -0500
commitc98d8cfbc600af88e9e6cffc84dd342280445760 (patch)
treebcf88e2905ba6b640e120a7c6529e3dcddb8c130 /fs/coda/dir.c
parent2c2212901f8b3fc84f36cb98150cfc2f6b4752f8 (diff)
[PATCH] fs/coda/: proper prototypes
Introduce a file fs/coda/coda_int.h with proper prototypes for some code. Signed-off-by: Adrian Bunk <bunk@stusta.de> Acked-by: Jan Harkes <jaharkes@cs.cmu.edu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/coda/dir.c')
-rw-r--r--fs/coda/dir.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/coda/dir.c b/fs/coda/dir.c
index 8f1a517f8b4e..54f76de8a686 100644
--- a/fs/coda/dir.c
+++ b/fs/coda/dir.c
@@ -27,6 +27,8 @@
27#include <linux/coda_cache.h> 27#include <linux/coda_cache.h>
28#include <linux/coda_proc.h> 28#include <linux/coda_proc.h>
29 29
30#include "coda_int.h"
31
30/* dir inode-ops */ 32/* dir inode-ops */
31static int coda_create(struct inode *dir, struct dentry *new, int mode, struct nameidata *nd); 33static int coda_create(struct inode *dir, struct dentry *new, int mode, struct nameidata *nd);
32static struct dentry *coda_lookup(struct inode *dir, struct dentry *target, struct nameidata *nd); 34static struct dentry *coda_lookup(struct inode *dir, struct dentry *target, struct nameidata *nd);
@@ -50,7 +52,6 @@ static int coda_dentry_delete(struct dentry *);
50/* support routines */ 52/* support routines */
51static int coda_venus_readdir(struct file *filp, filldir_t filldir, 53static int coda_venus_readdir(struct file *filp, filldir_t filldir,
52 void *dirent, struct dentry *dir); 54 void *dirent, struct dentry *dir);
53int coda_fsync(struct file *, struct dentry *dentry, int datasync);
54 55
55/* same as fs/bad_inode.c */ 56/* same as fs/bad_inode.c */
56static int coda_return_EIO(void) 57static int coda_return_EIO(void)