--- a/fs/yaffs2/yaffs_fs.c
+++ b/fs/yaffs2/yaffs_fs.c
--- a/fs/yaffs2/yaffs_fs.c
+++ b/fs/yaffs2/yaffs_fs.c
#else
static int yaffs_statfs(struct super_block *sb, struct statfs *buf);
#endif
#else
static int yaffs_statfs(struct super_block *sb, struct statfs *buf);
#endif
static void yaffs_put_inode(struct inode *inode);
static void yaffs_delete_inode(struct inode *);
static void yaffs_put_inode(struct inode *inode);
static void yaffs_delete_inode(struct inode *);
static struct super_operations yaffs_super_ops = {
.statfs = yaffs_statfs,
static struct super_operations yaffs_super_ops = {
.statfs = yaffs_statfs,
.put_inode = yaffs_put_inode,
.put_super = yaffs_put_super,
.delete_inode = yaffs_delete_inode,
.put_inode = yaffs_put_inode,
.put_super = yaffs_put_super,
.delete_inode = yaffs_delete_inode,
T(YAFFS_TRACE_OS,
(KERN_DEBUG "yaffs_get_inode for object %d\n", obj->objectId));
T(YAFFS_TRACE_OS,
(KERN_DEBUG "yaffs_get_inode for object %d\n", obj->objectId));
static void yaffs_read_inode(struct inode *inode)
{
/* NB This is called as a side effect of other functions, but
static void yaffs_read_inode(struct inode *inode)
{
/* NB This is called as a side effect of other functions, but
yaffs_GrossUnlock(dev);
}
yaffs_GrossUnlock(dev);
}