@@ -508,7 +508,6 @@ static int __ocfs2_mknod_locked(struct inode *dir,
508
508
struct inode * inode ,
509
509
dev_t dev ,
510
510
struct buffer_head * * new_fe_bh ,
511
- struct buffer_head * parent_fe_bh ,
512
511
handle_t * handle ,
513
512
struct ocfs2_alloc_context * inode_ac ,
514
513
u64 fe_blkno , u64 suballoc_loc , u16 suballoc_bit )
@@ -641,8 +640,8 @@ static int ocfs2_mknod_locked(struct ocfs2_super *osb,
641
640
}
642
641
643
642
return __ocfs2_mknod_locked (dir , inode , dev , new_fe_bh ,
644
- parent_fe_bh , handle , inode_ac ,
645
- fe_blkno , suballoc_loc , suballoc_bit );
643
+ handle , inode_ac , fe_blkno ,
644
+ suballoc_loc , suballoc_bit );
646
645
}
647
646
648
647
static int ocfs2_mkdir (struct mnt_idmap * idmap ,
@@ -2576,7 +2575,7 @@ int ocfs2_create_inode_in_orphan(struct inode *dir,
2576
2575
clear_nlink (inode );
2577
2576
/* do the real work now. */
2578
2577
status = __ocfs2_mknod_locked (dir , inode ,
2579
- 0 , & new_di_bh , parent_di_bh , handle ,
2578
+ 0 , & new_di_bh , handle ,
2580
2579
inode_ac , di_blkno , suballoc_loc ,
2581
2580
suballoc_bit );
2582
2581
if (status < 0 ) {
0 commit comments