ref: efbec63da9c094e0908047352d1d5480dfbc4b97
parent: bc36c6b77688a51db606c14b6d9f84b529e043d9
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Thu Nov 12 07:52:01 EST 2020
rwalk1: get linkresolve error if any
--- a/ext4srv.c
+++ b/ext4srv.c
@@ -506,8 +506,10 @@
s = smprint("%s/%s", q, name);
cleanname(s);
free(q);
- if((s = linkresolve(a, s, nil)) == nil)
- goto error;
+ if((s = linkresolve(a, s, nil)) == nil){
+ rerrstr(errbuf, sizeof(errbuf));
+ return errbuf;
+ }
if((r = ext4_raw_inode_fill(s, &ino, &inode)) != 0)
goto error;
qid->type = 0;