diff options
author | Boaz Harrosh <bharrosh@panasas.com> | 2008-10-28 10:11:41 -0400 |
---|---|---|
committer | Boaz Harrosh <bharrosh@panasas.com> | 2009-03-31 12:44:34 -0400 |
commit | ba9e5e98ca2f808fe92b103a8e6ce5271b10cc89 (patch) | |
tree | 0ec6eb23adfe0f762585e3a0c0f559bd91b74b11 /fs/exofs/exofs.h | |
parent | e6af00f1d1697ca41ab6a55307066ef3466833a9 (diff) |
exofs: super_operations and file_system_type
This patch ties all operation vectors into a file system superblock
and registers the exofs file_system_type at module's load time.
* The file system control block (AKA on-disk superblock) resides in
an object with a special ID (defined in common.h).
Information included in the file system control block is used to
fill the in-memory superblock structure at mount time. This object
is created before the file system is used by mkexofs.c It contains
information such as:
- The file system's magic number
- The next inode number to be allocated
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Diffstat (limited to 'fs/exofs/exofs.h')
-rw-r--r-- | fs/exofs/exofs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/exofs/exofs.h b/fs/exofs/exofs.h index d11982c67e2a..11e11d5c97ba 100644 --- a/fs/exofs/exofs.h +++ b/fs/exofs/exofs.h | |||
@@ -140,6 +140,8 @@ int exofs_write_begin(struct file *file, struct address_space *mapping, | |||
140 | struct page **pagep, void **fsdata); | 140 | struct page **pagep, void **fsdata); |
141 | extern struct inode *exofs_iget(struct super_block *, unsigned long); | 141 | extern struct inode *exofs_iget(struct super_block *, unsigned long); |
142 | struct inode *exofs_new_inode(struct inode *, int); | 142 | struct inode *exofs_new_inode(struct inode *, int); |
143 | extern int exofs_write_inode(struct inode *, int); | ||
144 | extern void exofs_delete_inode(struct inode *); | ||
143 | 145 | ||
144 | /* dir.c: */ | 146 | /* dir.c: */ |
145 | int exofs_add_link(struct dentry *, struct inode *); | 147 | int exofs_add_link(struct dentry *, struct inode *); |