X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;ds=sidebyside;f=nfs3%2Fnfs3_prot.h;h=1a442bada7445e14b1a20265af2cda749782dde4;hb=d514caf49faff9295d0e497d3b6b8856fe83f8d0;hp=01ed7b51f0b114bb45dc2b7d1f0123c25c8a7768;hpb=3c5c5e9b5a8650e0549712e20e007ba2399656bf;p=bluesky.git diff --git a/nfs3/nfs3_prot.h b/nfs3/nfs3_prot.h index 01ed7b5..1a442ba 100644 --- a/nfs3/nfs3_prot.h +++ b/nfs3/nfs3_prot.h @@ -653,6 +653,10 @@ typedef struct { /* If frag_len is zero: the number of bytes of the fragment header that * have been read so far. */ int frag_hdr_bytes; + + /* Mutex protecting send operations on the socket (to ensure that replies + * are not accidentally interleaved). */ + GMutex *send_lock; } RPCConnection; /* Linked list of cleanup functions to call when a request is completed. */