diff options
Diffstat (limited to 'fs/affs')
-rw-r--r-- | fs/affs/inode.c | 1 | ||||
-rw-r--r-- | fs/affs/namei.c | 6 |
2 files changed, 5 insertions, 2 deletions
diff --git a/fs/affs/inode.c b/fs/affs/inode.c index 1e5647c39..780b99ad3 100644 --- a/fs/affs/inode.c +++ b/fs/affs/inode.c @@ -31,6 +31,7 @@ extern int *blk_size[]; extern struct timezone sys_tz; +extern struct inode_operations affs_symlink_inode_operations; #define MIN(a,b) (((a)<(b))?(a):(b)) diff --git a/fs/affs/namei.c b/fs/affs/namei.c index 8ebf8319b..43085a64b 100644 --- a/fs/affs/namei.c +++ b/fs/affs/namei.c @@ -21,6 +21,8 @@ #include <linux/errno.h> +extern struct inode_operations affs_symlink_inode_operations; + /* Simple toupper() for DOS\1 */ static unsigned int @@ -273,10 +275,10 @@ affs_create(struct inode *dir, struct dentry *dentry, int mode) goto out; pr_debug("AFFS: ino=%lu\n",inode->i_ino); - if (dir->i_sb->u.affs_sb.s_flags & SF_OFS) + if (dir->i_sb->u.affs_sb.s_flags & SF_OFS) { inode->i_op = &affs_file_inode_operations; inode->i_fop = &affs_file_operations_ofs; - else { + } else { inode->i_op = &affs_file_inode_operations; inode->i_fop = &affs_file_operations; inode->i_mapping->a_ops = &affs_aops; |