[PATCH] some more av7110 dvb-driver updates
[linux-2.6/history.git] / include / linux / efs_fs.h
blob1640eb875d4ee8ad37e5d999856d99d2db2ad219
1 /*
2 * efs_fs.h
4 * Copyright (c) 1999 Al Smith
6 * Portions derived from work (c) 1995,1996 Christian Vogelgsang.
7 */
9 #ifndef __EFS_FS_H__
10 #define __EFS_FS_H__
12 #define EFS_VERSION "1.0a"
14 static const char cprt[] = "EFS: "EFS_VERSION" - (c) 1999 Al Smith <Al.Smith@aeschi.ch.eu.org>";
16 #include <asm/uaccess.h>
18 /* 1 block is 512 bytes */
19 #define EFS_BLOCKSIZE_BITS 9
20 #define EFS_BLOCKSIZE (1 << EFS_BLOCKSIZE_BITS)
22 #include <linux/fs.h>
23 #include <linux/efs_fs_i.h>
24 #include <linux/efs_fs_sb.h>
25 #include <linux/efs_dir.h>
27 static inline struct efs_inode_info *INODE_INFO(struct inode *inode)
29 return container_of(inode, struct efs_inode_info, vfs_inode);
32 static inline struct efs_sb_info *SUPER_INFO(struct super_block *sb)
34 return sb->s_fs_info;
37 struct statfs;
39 extern struct inode_operations efs_dir_inode_operations;
40 extern struct file_operations efs_dir_operations;
41 extern struct address_space_operations efs_symlink_aops;
43 extern int efs_fill_super(struct super_block *, void *, int);
44 extern int efs_statfs(struct super_block *, struct kstatfs *);
46 extern void efs_read_inode(struct inode *);
47 extern efs_block_t efs_map_block(struct inode *, efs_block_t);
49 extern struct dentry *efs_lookup(struct inode *, struct dentry *, struct nameidata *);
50 extern int efs_bmap(struct inode *, int);
52 #endif /* __EFS_FS_H__ */