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

Commit 2ff6b1c2 authored by Pekka Enberg's avatar Pekka Enberg Committed by Linus Torvalds
Browse files

[PATCH] isofs: remove d_splice_alias NULL check from isofs_lookup



Remove redundant NULL check in isofs_lookup() as d_splice_alias() can take
NULL inode as input.

Signed-off-by: default avatarPekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent ba7fe369
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -185,8 +185,5 @@ struct dentry *isofs_lookup(struct inode * dir, struct dentry * dentry, struct n
		}
	}
	unlock_kernel();
	if (inode)
	return d_splice_alias(inode, dentry);
	d_add(dentry, inode);
	return NULL;
}