diff options
Diffstat (limited to 'fs/ocfs2/namei.c')
-rw-r--r-- | fs/ocfs2/namei.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ocfs2/namei.c b/fs/ocfs2/namei.c index 6f8e1c4fdb9c..8ea51cf27b97 100644 --- a/fs/ocfs2/namei.c +++ b/fs/ocfs2/namei.c | |||
@@ -2486,7 +2486,6 @@ int ocfs2_create_inode_in_orphan(struct inode *dir, | |||
2486 | struct inode *inode = NULL; | 2486 | struct inode *inode = NULL; |
2487 | struct inode *orphan_dir = NULL; | 2487 | struct inode *orphan_dir = NULL; |
2488 | struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); | 2488 | struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); |
2489 | struct ocfs2_dinode *di = NULL; | ||
2490 | handle_t *handle = NULL; | 2489 | handle_t *handle = NULL; |
2491 | char orphan_name[OCFS2_ORPHAN_NAMELEN + 1]; | 2490 | char orphan_name[OCFS2_ORPHAN_NAMELEN + 1]; |
2492 | struct buffer_head *parent_di_bh = NULL; | 2491 | struct buffer_head *parent_di_bh = NULL; |
@@ -2552,7 +2551,6 @@ int ocfs2_create_inode_in_orphan(struct inode *dir, | |||
2552 | goto leave; | 2551 | goto leave; |
2553 | } | 2552 | } |
2554 | 2553 | ||
2555 | di = (struct ocfs2_dinode *)new_di_bh->b_data; | ||
2556 | status = ocfs2_orphan_add(osb, handle, inode, new_di_bh, orphan_name, | 2554 | status = ocfs2_orphan_add(osb, handle, inode, new_di_bh, orphan_name, |
2557 | &orphan_insert, orphan_dir, false); | 2555 | &orphan_insert, orphan_dir, false); |
2558 | if (status < 0) { | 2556 | if (status < 0) { |