Skip to contentSkip to conversation

Mini-OS: fix 9pfront fix

PATCH In review Juergen Gross 2 participants 2 messages Feb 7, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Mini-OS: fix 9pfront fix

There was a typo in the recent 9pfront fix.

Fixes b119f0178fd8 ("Mini-OS: fix 9pfs frontend error path")
---
 9pfront.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
9pfront.c +1 -1
index 042879a7..1741d600 100644
@@ -729,7 +729,7 @@ static int p9_stat(struct dev_9pfs *dev, uint32_t fid, struct p9_stat *stat)
 
     ret = req->result;
     if ( ret )
-        free_stat(&stat);
+        free_stat(stat);
 
     put_free_req(dev, req);
 
Signature · 1 line
2.35.3
Reviewed-by on v1 1/1
#1 lore raw

Juergen Gross, le mer. 07 févr. 2024 14:49:20 +0100, a ecrit:

Quoted 5 lines

There was a typo in the recent 9pfront fix.

Fixes b119f0178fd8 ("Mini-OS: fix 9pfs frontend error path")
Quoted 20 lines
---
 9pfront.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
9pfront.c +1 -1
index 042879a7..1741d600 100644
@@ -729,7 +729,7 @@ static int p9_stat(struct dev_9pfs *dev, uint32_t fid, struct p9_stat *stat)
 
     ret = req->result;
     if ( ret )
-        free_stat(&stat);
+        free_stat(stat);
 
     put_free_req(dev, req);
 
Signature · 1 line
2.35.3