---
 sheep/gateway.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sheep/gateway.c b/sheep/gateway.c
index 408660a..d238f96 100644
--- a/sheep/gateway.c
+++ b/sheep/gateway.c
@@ -681,10 +681,9 @@ int gateway_write_obj(struct request *req)
        if (!bypass_object_cache(req))
                return object_cache_handle_request(req);
 
-       if (is_data_vid_update(hdr))
-               invalidate_other_nodes(oid_to_vid(oid));
 
        if (is_data_vid_update(hdr)) {
+               invalidate_other_nodes(oid_to_vid(oid));
                size_t nr_vids = hdr->data_length / sizeof(*vids);
 
                /* read the previous vids to discard their references later */
-- 
1.9.3 (Apple Git-50)

-- 
sheepdog mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/sheepdog

Reply via email to