X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=fs%2Focfs2%2Fnamei.c;h=8ea51cf27b9707a25468fdf7a96029f666d52197;hb=df37d941c4b5aee9259ab4e34de8bfda384f7681;hp=6f8e1c4fdb9c3684e73d10a77d19a00903c768a5;hpb=e577dc152e232c78e5774e4c9b5486a04561920b;p=linux-2.6-microblaze.git 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, struct inode *inode = NULL; struct inode *orphan_dir = NULL; struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); - struct ocfs2_dinode *di = NULL; handle_t *handle = NULL; char orphan_name[OCFS2_ORPHAN_NAMELEN + 1]; struct buffer_head *parent_di_bh = NULL; @@ -2552,7 +2551,6 @@ int ocfs2_create_inode_in_orphan(struct inode *dir, goto leave; } - di = (struct ocfs2_dinode *)new_di_bh->b_data; status = ocfs2_orphan_add(osb, handle, inode, new_di_bh, orphan_name, &orphan_insert, orphan_dir, false); if (status < 0) {