Lines Matching refs:newinode
179 struct inode *newinode = NULL; local
198 rc = cifs_posix_open(full_path, &newinode, inode->i_sb, mode,
202 if (newinode == NULL) {
207 if (S_ISDIR(newinode->i_mode)) {
209 iput(newinode);
214 if (!S_ISREG(newinode->i_mode)) {
352 rc = cifs_get_inode_info_unix(&newinode, full_path, inode->i_sb,
359 rc = cifs_get_inode_info(&newinode, full_path, buf, inode->i_sb, xid, fid);
360 if (newinode) {
362 server->ops->set_lease_key(newinode, fid);
363 if ((*oplock & CIFS_CREATE_ACTION) && S_ISREG(newinode->i_mode)) {
365 newinode->i_mode = mode;
367 newinode->i_uid = current_fsuid();
369 newinode->i_gid = inode->i_gid;
371 newinode->i_gid = current_fsgid();
386 if (newinode)
387 if (S_ISDIR(newinode->i_mode)) {
393 d_add(direntry, newinode);
402 if (newinode)
403 iput(newinode);