summaryrefslogtreecommitdiffstats
path: root/fs/exofs/exofs.h
diff options
context:
space:
mode:
authorBoaz Harrosh <bharrosh@panasas.com>2008-10-28 15:11:41 +0100
committerBoaz Harrosh <bharrosh@panasas.com>2009-03-31 18:44:34 +0200
commitba9e5e98ca2f808fe92b103a8e6ce5271b10cc89 (patch)
tree0ec6eb23adfe0f762585e3a0c0f559bd91b74b11 /fs/exofs/exofs.h
parentexofs: dir_inode and directory operations (diff)
downloadlinux-ba9e5e98ca2f808fe92b103a8e6ce5271b10cc89.tar.xz
linux-ba9e5e98ca2f808fe92b103a8e6ce5271b10cc89.zip
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,
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 *);