[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] libxc: restore: reset I/O fd to flags to back to state caller passed us
Ian Campbell writes ("[Xen-devel] [PATCH] libxc: restore: reset I/O fd to flags to back to state caller passed us"): > libxc: restore: reset I/O fd to flags to back to state caller passed us > > In particular this causes us to turn O_NONBLOCK back off if we set it. This one doesn't apply any more. This hunk: > - { > - if ( (flags = fcntl(io_fd, F_GETFL,0)) < 0 ) > - flags = 0; > - fcntl(io_fd, F_SETFL, flags | O_NONBLOCK); > - } > + fcntl(io_fd, F_SETFL, orig_io_fd_flags | O_NONBLOCK); seems to have become stale. Have I applied these in the wrong order or something ? Ian. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |