commit 7a045781776c4f0d762e13e6b65c5bdd5e7a8e94
Author: Yiannis Pericleous <[EMAIL PROTECTED]>
Date:   Sat Apr 21 11:57:41 2007 -0400

    cleanup: prefix external functions with 'extern' properly
    
    Conflicts:
    
        fs/unionfs/sioq.h
        fs/unionfs/union.h

diff --git a/fs/unionfs/union.h b/fs/unionfs/union.h
index 
9a92c55cdfc839d811c40021db06dc5466557b0d..569fc4467e010df167308dc94b58b84808703949
 100644
--- a/fs/unionfs/union.h
+++ b/fs/unionfs/union.h
@@ -213,26 +213,26 @@ struct unionfs_dir_state {
 #include "fanout.h"
 #include "sioq.h"
 
-/* Cache creation/deletion routines. */
-void unionfs_destroy_filldir_cache(void);
-int unionfs_init_filldir_cache(void);
-int unionfs_init_inode_cache(void);
-void unionfs_destroy_inode_cache(void);
-int unionfs_init_dentry_cache(void);
-void unionfs_destroy_dentry_cache(void);
+/* externs for cache creation/deletion routines */
+extern void unionfs_destroy_filldir_cache(void);
+extern int unionfs_init_filldir_cache(void);
+extern int unionfs_init_inode_cache(void);
+extern void unionfs_destroy_inode_cache(void);
+extern int unionfs_init_dentry_cache(void);
+extern void unionfs_destroy_dentry_cache(void);
 
 /* Initialize and free readdir-specific  state. */
-int init_rdstate(struct file *file);
-struct unionfs_dir_state *alloc_rdstate(struct inode *inode, int bindex);
-struct unionfs_dir_state *find_rdstate(struct inode *inode, loff_t fpos);
-void free_rdstate(struct unionfs_dir_state *state);
-int add_filldir_node(struct unionfs_dir_state *rdstate, const char *name,
-                    int namelen, int bindex, int whiteout);
-struct filldir_node *find_filldir_node(struct unionfs_dir_state *rdstate,
-                                      const char *name, int namelen);
-
-struct dentry **alloc_new_dentries(int objs);
-struct unionfs_data *alloc_new_data(int objs);
+extern int init_rdstate(struct file *file);
+extern struct unionfs_dir_state *alloc_rdstate(struct inode *inode, int 
bindex);
+extern struct unionfs_dir_state *find_rdstate(struct inode *inode, loff_t 
fpos);
+extern void free_rdstate(struct unionfs_dir_state *state);
+extern int add_filldir_node(struct unionfs_dir_state *rdstate, const char 
*name,
+                           int namelen, int bindex, int whiteout);
+extern struct filldir_node *find_filldir_node(struct unionfs_dir_state 
*rdstate,
+                                             const char *name, int namelen);
+
+extern struct dentry **alloc_new_dentries(int objs);
+extern struct unionfs_data *alloc_new_data(int objs);
 
 /* We can only use 32-bits of offset for rdstate --- blech! */
 #define DIREOF (0xfffff)
@@ -265,8 +265,8 @@ static inline void double_lock_dentry(st
 }
 
 extern int new_dentry_private_data(struct dentry *dentry);
-void free_dentry_private_data(struct unionfs_dentry_info *udi);
-void update_bstart(struct dentry *dentry);
+extern void free_dentry_private_data(struct unionfs_dentry_info *udi);
+extern void update_bstart(struct dentry *dentry);
 
 /*
  * EXTERNALS:
@@ -275,6 +275,7 @@ void update_bstart(struct dentry *dentry
 /* replicates the directory structure up to given dentry in given branch */
 extern struct dentry *create_parents(struct inode *dir, struct dentry *dentry,
                                     int bindex);
+extern int make_dir_opaque(struct dentry *dir, int bindex);
 
 /* partial lookup */
 extern int unionfs_partial_lookup(struct dentry *dentry);
@@ -318,8 +319,8 @@ extern long unionfs_ioctl(struct file *f
 /* Inode operations */
 extern int unionfs_rename(struct inode *old_dir, struct dentry *old_dentry,
                          struct inode *new_dir, struct dentry *new_dentry);
-int unionfs_unlink(struct inode *dir, struct dentry *dentry);
-int unionfs_rmdir(struct inode *dir, struct dentry *dentry);
+extern int unionfs_unlink(struct inode *dir, struct dentry *dentry);
+extern int unionfs_rmdir(struct inode *dir, struct dentry *dentry);
 
 int __unionfs_d_revalidate_chain(struct dentry *dentry, struct nameidata *nd);
 int unionfs_force_rm(struct dentry *dentry, struct dentry **hidden_dentry, int 
bindex);
@@ -336,10 +337,10 @@ extern int unionfs_interpose(struct dent
                             struct super_block *sb, int flag);
 
 /* Branch management ioctls. */
-int unionfs_ioctl_incgen(struct file *file, unsigned int cmd,
-                        unsigned long arg);
-int unionfs_ioctl_queryfile(struct file *file, unsigned int cmd,
-                           unsigned long arg);
+extern int unionfs_ioctl_incgen(struct file *file, unsigned int cmd,
+                               unsigned long arg);
+extern int unionfs_ioctl_queryfile(struct file *file, unsigned int cmd,
+                                  unsigned long arg);
 
 #ifdef CONFIG_UNION_FS_XATTR
 /* Extended attribute functions. */
diff --git a/include/linux/fs_stack.h b/include/linux/fs_stack.h
index 
6a78d830428222b4a1fc9880d83f83ed69544545..f90d1c82310a900ae77fe2be06b58ac7700aea58
 100644
--- a/include/linux/fs_stack.h
+++ b/include/linux/fs_stack.h
@@ -22,7 +22,6 @@ #include <linux/fs.h>
 /* externs for fs/stack.c */
 extern void fsstack_copy_attr_all(struct inode *dest, const struct inode *src,
                                  int (*get_nlinks)(struct inode *));
-
 extern void fsstack_copy_inode_size(struct inode *dst,
                                    const struct inode *src);
 
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs

Reply via email to