Commit c818b682 authored by Miklos Szeredi's avatar Miklos Szeredi Committed by Christoph Hellwig
Browse files

jfs: remove unnecessary nlink setting

alloc_inode() initializes i_nlink to 1.  Remove unnecessary
Signed-off-by: default avatarMiklos Szeredi <>
Acked-by: default avatarDave Kleikamp <>
Signed-off-by: default avatarChristoph Hellwig <>
parent dc786102
......@@ -485,7 +485,6 @@ static int jfs_fill_super(struct super_block *sb, void *data, int silent)
goto out_unload;
inode->i_ino = 0;
inode->i_nlink = 1;
inode->i_size = sb->s_bdev->bd_inode->i_size;
inode->i_mapping->a_ops = &jfs_metapage_aops;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment