Blame view
fs/bfs/bfs.h
1.33 KB
1da177e4c Linux-2.6.12-rc2 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
/* * fs/bfs/bfs.h * Copyright (C) 1999 Tigran Aivazian <tigran@veritas.com> */ #ifndef _FS_BFS_BFS_H #define _FS_BFS_BFS_H #include <linux/bfs_fs.h> /* * BFS file system in-core superblock info */ struct bfs_sb_info { unsigned long si_blocks; unsigned long si_freeb; unsigned long si_freei; |
1da177e4c Linux-2.6.12-rc2 |
17 18 |
unsigned long si_lf_eblk; unsigned long si_lasti; |
75b25b4ca bfs: assorted cle... |
19 |
unsigned long *si_imap; |
3f165e4cf bfs: kill BKL |
20 |
struct mutex bfs_lock; |
1da177e4c Linux-2.6.12-rc2 |
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
}; /* * BFS file system in-core inode info */ struct bfs_inode_info { unsigned long i_dsk_ino; /* inode number from the disk, can be 0 */ unsigned long i_sblock; unsigned long i_eblock; struct inode vfs_inode; }; static inline struct bfs_sb_info *BFS_SB(struct super_block *sb) { return sb->s_fs_info; } static inline struct bfs_inode_info *BFS_I(struct inode *inode) { |
f433dc563 Fixes to the BFS ... |
40 |
return container_of(inode, struct bfs_inode_info, vfs_inode); |
1da177e4c Linux-2.6.12-rc2 |
41 42 43 44 |
} #define printf(format, args...) \ |
8e24eea72 fs: replace remai... |
45 |
printk(KERN_ERR "BFS-fs: %s(): " format, __func__, ## args) |
1da177e4c Linux-2.6.12-rc2 |
46 |
|
e33ab086a iget: stop BFS fr... |
47 48 |
/* inode.c */ extern struct inode *bfs_iget(struct super_block *sb, unsigned long ino); |
1da177e4c Linux-2.6.12-rc2 |
49 50 |
/* file.c */ |
754661f14 [PATCH] mark stru... |
51 |
extern const struct inode_operations bfs_file_inops; |
4b6f5d20b [PATCH] Make most... |
52 |
extern const struct file_operations bfs_file_operations; |
f5e54d6e5 [PATCH] mark addr... |
53 |
extern const struct address_space_operations bfs_aops; |
1da177e4c Linux-2.6.12-rc2 |
54 55 |
/* dir.c */ |
754661f14 [PATCH] mark stru... |
56 |
extern const struct inode_operations bfs_dir_inops; |
4b6f5d20b [PATCH] Make most... |
57 |
extern const struct file_operations bfs_dir_operations; |
1da177e4c Linux-2.6.12-rc2 |
58 59 |
#endif /* _FS_BFS_BFS_H */ |