From: Paul M. <le...@us...> - 2001-10-06 21:01:17
|
Update of /cvsroot/linuxconsole/ruby/linux/include/linux In directory usw-pr-cvs1:/tmp/cvs-serv15040 Modified Files: gfxfs_fs.h Log Message: header updates too. Index: gfxfs_fs.h =================================================================== RCS file: /cvsroot/linuxconsole/ruby/linux/include/linux/gfxfs_fs.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- gfxfs_fs.h 2001/10/06 19:35:58 1.1 +++ gfxfs_fs.h 2001/10/06 21:01:15 1.2 @@ -5,14 +5,24 @@ * * Copyright (C) 2001 Paul Mundt <pm...@mv...> * + * Released under the terms of the GNU GPL v2.0. + * */ #ifndef __GFXFS_FS_H #define __GFXFS_FS_H #include <linux/fs.h> +#include <linux/config.h> #define GFXFS_SUPER_MAGIC 0x8048494 /* "gfxfs" */ +#ifdef CONFIG_GFXFS_FS_DEBUG + #define gfxfs_debug(x...) printk(KERN_DEBUG "gfxfs: " \ + __FUNCTION__ "(): " ##x) +#else + #define gfxfs_debug(x...) do { } while (0) +#endif /* CONFIG_GFXFS_FS_DEBUG */ + /* * struct gfxfs_dentry - gfxfs dentry * @@ -32,6 +42,17 @@ struct dentry *f_dentry; struct file_operations *f_ops; }; + +/* fs/gfxfs/inode.c */ +extern void gfxfs_read_inode(struct inode *inode); +extern struct inode *gfxfs_get_inode(struct super_block *sb, int mode, int dev); + +/* fs/gfxfs/file.c */ +extern struct file_operations gfxfs_file_ops; + +/* fs/gfxfs/dir.c */ +extern struct file_operations gfxfs_dir_ops; +extern struct inode_operations gfxfs_dir_inode_ops; #endif /* __GFXFS_FS_H */ |