  if (!(inode = new_inode(dir->i_sb))) {   return -ENOMEM;  }  retval = new_inode_init(inode, dir, mode);  if (retval) {   drop_new_inode(inode);   return retval;  }   jbegin_count += reiserfs_cache_default_acl(dir);  retval = reiserfs_security_init(dir, inode, &dentry->d_name, &security);  if (retval < 0) {   drop_new_inode(inode);   return retval;  }  jbegin_count += retval;  reiserfs_write_lock(dir->i_sb);   retval = journal_begin(&th, dir->i_sb, jbegin_count);  if (retval) {   drop_new_inode(inode);   goto out_failed;  }   