mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
jfs: remove unnecessary nlink setting
alloc_inode() initializes i_nlink to 1. Remove unnecessary re-initialization. Signed-off-by: Miklos Szeredi <[email protected]> Acked-by: Dave Kleikamp <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
This commit is contained in:
parent
dc78610228
commit
c818b682c9
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||
insert_inode_hash(inode);
|
||||
|
|
|
|||
Loading…
Reference in a new issue