Commit 9fe76c76 authored by Harvey Harrison's avatar Harvey Harrison Committed by Linus Torvalds

coda: add static to functions in dir.c

coda_unlink, coda_rmdir, coda_readdir can all be static, the forward
declarations already were.
Signed-off-by: default avatarHarvey Harrison <harvey.harrison@gmail.com>
Cc: Jan Harkes <jaharkes@cs.cmu.edu>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 679c9cd4
...@@ -345,7 +345,7 @@ static int coda_symlink(struct inode *dir_inode, struct dentry *de, ...@@ -345,7 +345,7 @@ static int coda_symlink(struct inode *dir_inode, struct dentry *de,
} }
/* destruction routines: unlink, rmdir */ /* destruction routines: unlink, rmdir */
int coda_unlink(struct inode *dir, struct dentry *de) static int coda_unlink(struct inode *dir, struct dentry *de)
{ {
int error; int error;
const char *name = de->d_name.name; const char *name = de->d_name.name;
...@@ -365,7 +365,7 @@ int coda_unlink(struct inode *dir, struct dentry *de) ...@@ -365,7 +365,7 @@ int coda_unlink(struct inode *dir, struct dentry *de)
return 0; return 0;
} }
int coda_rmdir(struct inode *dir, struct dentry *de) static int coda_rmdir(struct inode *dir, struct dentry *de)
{ {
const char *name = de->d_name.name; const char *name = de->d_name.name;
int len = de->d_name.len; int len = de->d_name.len;
...@@ -424,7 +424,7 @@ static int coda_rename(struct inode *old_dir, struct dentry *old_dentry, ...@@ -424,7 +424,7 @@ static int coda_rename(struct inode *old_dir, struct dentry *old_dentry,
/* file operations for directories */ /* file operations for directories */
int coda_readdir(struct file *coda_file, void *buf, filldir_t filldir) static int coda_readdir(struct file *coda_file, void *buf, filldir_t filldir)
{ {
struct coda_file_info *cfi; struct coda_file_info *cfi;
struct file *host_file; struct file *host_file;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment