]> git.ipfire.org Git - thirdparty/linux.git/commit
clean erofs_lookup()
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 10 Oct 2018 20:37:39 +0000 (16:37 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 10 Oct 2018 20:37:39 +0000 (16:37 -0400)
commit8300807f9e2dffb6552514763ad60e005c12eb94
treeb31b5ce755b353dde418e83c485d338da019d6bf
parent5b394b2ddf0347bef56e50c69a58773c94343ff3
clean erofs_lookup()

d_splice_alias() does the right thing when given
ERR_PTR(-E...) for inode.  No need for gotos, multiple
returns, etc. in there.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/staging/erofs/namei.c