diff options
author | Boaz Harrosh <bharrosh@panasas.com> | 2008-10-28 16:11:41 +0200 |
---|---|---|
committer | Boaz Harrosh <bharrosh@panasas.com> | 2009-03-31 19:44:34 +0300 |
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 d11982c67e2..11e11d5c97b 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, struct page **pagep, void **fsdata); extern struct inode *exofs_iget(struct super_block *, unsigned long); struct inode *exofs_new_inode(struct inode *, int); +extern int exofs_write_inode(struct inode *, int); +extern void exofs_delete_inode(struct inode *); /* dir.c: */ int exofs_add_link(struct dentry *, struct inode *); |