commit 2d7e186886862b86f40bba7ad446e243796a1a98
Author: Yiannis Pericleous <[EMAIL PROTECTED]>
Date: Wed May 30 21:07:19 2007 -0400
extern all functions in odf.h
diff --git a/fs/unionfs/odf.h b/fs/unionfs/odf.h
index
e3d52a3cda3b88486889c73f65fb16a9ea125c38..c886d75eb8fcf6bb9b7cbecf0ceb2f83d7266592
100644
--- a/fs/unionfs/odf.h
+++ b/fs/unionfs/odf.h
@@ -34,42 +34,42 @@ #define ODF_CONTENT "content" /* name
#define ODF_CONTENT_LEN (sizeof(ODF_CONTENT) - 1)
/* super */
-int odf_read_super(struct super_block *sb, char *data);
-void odf_put_super(struct odf_sb_info *osi);
-char *odf_read_sb_data(struct odf_sb_info *odf_sb, int **bid);
-int odf_write_sb_data(struct odf_sb_info* osi, struct unionfs_data *data,
+extern int odf_read_super(struct super_block *sb, char *data);
+extern void odf_put_super(struct odf_sb_info *osi);
+extern char *odf_read_sb_data(struct odf_sb_info *odf_sb, int **bid);
+extern int odf_write_sb_data(struct odf_sb_info* osi, struct unionfs_data
*data,
struct path *lower_paths, int branches);
-int odf_is_new(struct odf_sb_info *osi);
-int odf_update_uuids(struct odf_sb_info *odf, struct path *old_paths, int
old_branches,
+extern int odf_is_new(struct odf_sb_info *osi);
+extern int odf_update_uuids(struct odf_sb_info *odf, struct path *old_paths,
int old_branches,
struct path *new_paths, int new_branches);
/* lookup */
-int odf_lookup(struct dentry *parent, struct dentry *dentry, int flags);
-struct dentry *odf_lookup_name(struct dentry *parent, const char *name, int
len, int flags);
+extern int odf_lookup(struct dentry *parent, struct dentry *dentry, int flags);
+extern struct dentry *odf_lookup_name(struct dentry *parent, const char *name,
int len, int flags);
/* dirents & dir cache */
-struct dentry *odf_ic_cache_dentry(struct dentry *dir);
-int odf_write_dirent(struct file *filp, const char *name, int namelen, u64
ino, unsigned int d_type);
-int odf_read_dirent(struct file *filp, char **name, int *namelen, u64 *ino,
unsigned int *d_type);
-int odf_purge_dir_cache(struct dentry *dentry);
-int odf_cache_dir(struct dentry *d_upper, struct dentry *d_odf, struct
timespec *mtime);
-int odf_release_sr(struct inode *inode);
+extern struct dentry *odf_ic_cache_dentry(struct dentry *dir);
+extern int odf_write_dirent(struct file *filp, const char *name, int namelen,
u64 ino, unsigned int d_type);
+extern int odf_read_dirent(struct file *filp, char **name, int *namelen, u64
*ino, unsigned int *d_type);
+extern int odf_purge_dir_cache(struct dentry *dentry);
+extern int odf_cache_dir(struct dentry *d_upper, struct dentry *d_odf, struct
timespec *mtime);
+extern int odf_release_sr(struct inode *inode);
/* various i-ops */
-int odf_rename(struct dentry *old_dentry, struct dentry *new_dentry);
-int odf_link(struct dentry *old_dentry, struct dentry *new_dentry);
+extern int odf_rename(struct dentry *old_dentry, struct dentry *new_dentry);
+extern int odf_link(struct dentry *old_dentry, struct dentry *new_dentry);
-int odf_copyup_link(struct super_block *sb, struct dentry *old_dentry, struct
dentry *new_dentry,
+extern int odf_copyup_link(struct super_block *sb, struct dentry *old_dentry,
struct dentry *new_dentry,
int old_branch, int new_branch);
/* unlink */
-int odf_remove(struct dentry *dentry, int flags);
+extern int odf_remove(struct dentry *dentry, int flags);
/* whiteouts */
-int odf_create_wh(struct dentry *dentry);
+extern int odf_create_wh(struct dentry *dentry);
/* opaque */
-int odf_get_opaque(struct dentry *dentry);
+extern int odf_get_opaque(struct dentry *dentry);
extern void __odf_cleanup(void *args);
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs