aboutsummaryrefslogtreecommitdiffstats
path: root/fs/exofs/exofs.h
diff options
context:
space:
mode:
authorBoaz Harrosh <bharrosh@panasas.com>2008-10-28 10:11:41 -0400
committerBoaz Harrosh <bharrosh@panasas.com>2009-03-31 12:44:34 -0400
commitba9e5e98ca2f808fe92b103a8e6ce5271b10cc89 (patch)
tree0ec6eb23adfe0f762585e3a0c0f559bd91b74b11 /fs/exofs/exofs.h
parente6af00f1d1697ca41ab6a55307066ef3466833a9 (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.h2
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);
141extern struct inode *exofs_iget(struct super_block *, unsigned long); 141extern struct inode *exofs_iget(struct super_block *, unsigned long);
142struct inode *exofs_new_inode(struct inode *, int); 142struct inode *exofs_new_inode(struct inode *, int);
143extern int exofs_write_inode(struct inode *, int);
144extern void exofs_delete_inode(struct inode *);
143 145
144/* dir.c: */ 146/* dir.c: */
145int exofs_add_link(struct dentry *, struct inode *); 147int exofs_add_link(struct dentry *, struct inode *);