diff options
Diffstat (limited to 'fs/ocfs2/namei.c')
-rw-r--r-- | fs/ocfs2/namei.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/fs/ocfs2/namei.c b/fs/ocfs2/namei.c index 765514512096..0134bafdab9e 100644 --- a/fs/ocfs2/namei.c +++ b/fs/ocfs2/namei.c | |||
@@ -531,15 +531,7 @@ static int ocfs2_mknod_locked(struct ocfs2_super *osb, | |||
531 | goto leave; | 531 | goto leave; |
532 | } | 532 | } |
533 | 533 | ||
534 | if (ocfs2_populate_inode(inode, fe, 1) < 0) { | 534 | ocfs2_populate_inode(inode, fe, 1); |
535 | mlog(ML_ERROR, "populate inode failed! bh->b_blocknr=%llu, " | ||
536 | "i_blkno=%llu, i_ino=%lu\n", | ||
537 | (unsigned long long)(*new_fe_bh)->b_blocknr, | ||
538 | (unsigned long long)le64_to_cpu(fe->i_blkno), | ||
539 | inode->i_ino); | ||
540 | BUG(); | ||
541 | } | ||
542 | |||
543 | ocfs2_inode_set_new(osb, inode); | 535 | ocfs2_inode_set_new(osb, inode); |
544 | if (!ocfs2_mount_local(osb)) { | 536 | if (!ocfs2_mount_local(osb)) { |
545 | status = ocfs2_create_new_inode_locks(inode); | 537 | status = ocfs2_create_new_inode_locks(inode); |
@@ -1864,9 +1856,7 @@ static int ocfs2_orphan_add(struct ocfs2_super *osb, | |||
1864 | 1856 | ||
1865 | mlog_entry("(inode->i_ino = %lu)\n", inode->i_ino); | 1857 | mlog_entry("(inode->i_ino = %lu)\n", inode->i_ino); |
1866 | 1858 | ||
1867 | status = ocfs2_read_block(orphan_dir_inode, | 1859 | status = ocfs2_read_inode_block(orphan_dir_inode, &orphan_dir_bh); |
1868 | OCFS2_I(orphan_dir_inode)->ip_blkno, | ||
1869 | &orphan_dir_bh); | ||
1870 | if (status < 0) { | 1860 | if (status < 0) { |
1871 | mlog_errno(status); | 1861 | mlog_errno(status); |
1872 | goto leave; | 1862 | goto leave; |