Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a8b75f66 authored by Al Viro's avatar Al Viro
Browse files

cifs_lookup(): cifs_get_inode_...() never returns 0 with *inode left NULL



not since 2004...

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 500e2ab6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -812,7 +812,7 @@ cifs_lookup(struct inode *parent_dir_inode, struct dentry *direntry,
				parent_dir_inode->i_sb, xid, NULL);
	}

	if ((rc == 0) && (newInode != NULL)) {
	if (rc == 0) {
		d_add(direntry, newInode);
		/* since paths are not looked up by component - the parent
		   directories are presumed to be good here */