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

Re: [Minios-devel] [UNIKRAFT/LWIP PATCH] sockets: add prefix to FWRITE and FREAD



Reviewed-by: Florian Schmidt <florian.schmidt@xxxxxxxxx>

On 3/5/19 2:53 PM, Yuri Volchkov wrote:
These are internal vfscore flags. And they got prefixes
recently. Update lwip to match them

Signed-off-by: Yuri Volchkov <yuri.volchkov@xxxxxxxxx>
---
  sockets.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sockets.c b/sockets.c
index 3a2aa9e..0cf22de 100644
--- a/sockets.c
+++ b/sockets.c
@@ -112,7 +112,7 @@ static int sock_fd_alloc(struct vnops *v_op, int sock_fd)
/* Put things together, and fill out necessary fields */
        file->vfscore_file.fd = vfs_fd;
-       file->vfscore_file.f_flags = FWRITE | FREAD;
+       file->vfscore_file.f_flags = UK_FWRITE | UK_FREAD;
        file->vfscore_file.f_count = 1;
        file->vfscore_file.f_dentry = s_dentry;

--
Dr. Florian Schmidt
フローリアン・シュミット
Research Scientist,
Systems and Machine Learning Group
NEC Laboratories Europe
Kurfürsten-Anlage 36, D-69115 Heidelberg
Tel.     +49 (0)6221 4342-265
Fax:     +49 (0)6221 4342-155
e-mail:  florian.schmidt@xxxxxxxxx
============================================================
Registered at Amtsgericht Mannheim, Germany, HRB728558

_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

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