tmpfs: Fix error being cleared after commit c12118f6ce

In tmpfs_link() error was erroneously cleared in commit c12118f6ce.

Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
MFC with:	c12118f6ce
This commit is contained in:
Ka Ho Ng 2021-08-25 00:35:29 +08:00
parent 5c1428d2c4
commit a48416f844

View file

@ -808,7 +808,7 @@ tmpfs_link(struct vop_link_args *v)
error = 0;
out:
return (0);
return (error);
}
/*