patch-2.1.43 linux/fs/affs/inode.c

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

diff -u --recursive --new-file v2.1.42/linux/fs/affs/inode.c linux/fs/affs/inode.c
@@ -899,7 +899,7 @@
 		return NULL;
 	}
 
-	inode->i_count   = 1;
+	atomic_set(&inode->i_count, 1);
 	inode->i_nlink   = 1;
 	inode->i_dev     = sb->s_dev;
 	inode->i_uid     = current->fsuid;
@@ -1031,9 +1031,9 @@
 }
 
 static struct file_system_type affs_fs_type = {
-	affs_read_super,
 	"affs",
-	1,
+	FS_REQUIRES_DEV,
+	affs_read_super,
 	NULL
 };
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov