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
- Lines: 21
- Date:
Thu Jun 12 16:22:08 1997
- Orig file:
v2.1.42/linux/fs/affs/inode.c
- Orig date:
Tue May 13 22:41:14 1997
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