patch-2.3.49 linux/fs/affs/namei.c

Next file: linux/fs/attr.c
Previous file: linux/fs/affs/inode.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.48/linux/fs/affs/namei.c linux/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 @@
 		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;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)