The branch stable/13 has been updated by khng:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=3bda6fa6a0210256c3d7ae5f771fb2626f0f62b7

commit 3bda6fa6a0210256c3d7ae5f771fb2626f0f62b7
Author:     Ka Ho Ng <[email protected]>
AuthorDate: 2021-08-24 16:35:29 +0000
Commit:     Ka Ho Ng <[email protected]>
CommitDate: 2021-08-27 08:51:54 +0000

    tmpfs: Fix error being cleared after commit c12118f6cec0
    
    In tmpfs_link() error was erroneously cleared in commit c12118f6cec0.
    
    Sponsored by:   The FreeBSD Foundation
    MFC with:       c12118f6cec0
    
    (cherry picked from commit a48416f844e3007b4e9f6df125e25cf3a1daad62)
---
 sys/fs/tmpfs/tmpfs_vnops.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/fs/tmpfs/tmpfs_vnops.c b/sys/fs/tmpfs/tmpfs_vnops.c
index 325b8d2789bb..326a5132990d 100644
--- a/sys/fs/tmpfs/tmpfs_vnops.c
+++ b/sys/fs/tmpfs/tmpfs_vnops.c
@@ -808,7 +808,7 @@ tmpfs_link(struct vop_link_args *v)
        error = 0;
 
 out:
-       return (0);
+       return (error);
 }
 
 /*
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to