[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[mini-os master] Mini-OS: fix 9pfront fix



commit 2bc8dbb9b6111113d27455cbca318ea337309c04
Author:     Juergen Gross <jgross@xxxxxxxx>
AuthorDate: Thu Feb 8 14:43:13 2024 +0100
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Thu Feb 8 14:43:13 2024 +0100

    Mini-OS: fix 9pfront fix
    
    There was a typo in the recent 9pfront fix.
    
    Fixes: b119f0178fd8 ("Mini-OS: fix 9pfs frontend error path")
    Reported-by: Julien Grall <julien@xxxxxxx>
    Signed-off-by: Juergen Gross <jgross@xxxxxxxx>
    Reviewed-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>
---
 9pfront.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/9pfront.c b/9pfront.c
index 042879a..1741d60 100644
--- a/9pfront.c
+++ b/9pfront.c
@@ -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);
 
--
generated by git-patchbot for /home/xen/git/mini-os.git#master



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.