rcom.c (c04fecb4d9f7753e0cbff7edd03ec68f8721cdce) rcom.c (1d7c484eeb167fc374294e38ae402de4097c8611)
1/******************************************************************************
2*******************************************************************************
3**
4** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
5** Copyright (C) 2005-2008 Red Hat, Inc. All rights reserved.
6**
7** This copyrighted material is made available to anyone wishing to use,
8** modify, copy, or redistribute it subject to the terms and conditions

--- 311 unchanged lines hidden (view full) ---

320 struct dlm_ls *ls = r->res_ls;
321 int error;
322
323 error = create_rcom(ls, dir_nodeid, DLM_RCOM_LOOKUP, r->res_length,
324 &rc, &mh);
325 if (error)
326 goto out;
327 memcpy(rc->rc_buf, r->res_name, r->res_length);
1/******************************************************************************
2*******************************************************************************
3**
4** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
5** Copyright (C) 2005-2008 Red Hat, Inc. All rights reserved.
6**
7** This copyrighted material is made available to anyone wishing to use,
8** modify, copy, or redistribute it subject to the terms and conditions

--- 311 unchanged lines hidden (view full) ---

320 struct dlm_ls *ls = r->res_ls;
321 int error;
322
323 error = create_rcom(ls, dir_nodeid, DLM_RCOM_LOOKUP, r->res_length,
324 &rc, &mh);
325 if (error)
326 goto out;
327 memcpy(rc->rc_buf, r->res_name, r->res_length);
328 rc->rc_id = (unsigned long) r;
328 rc->rc_id = (unsigned long) r->res_id;
329
330 send_rcom(ls, mh, rc);
331 out:
332 return error;
333}
334
335int dlm_send_rcom_lookup_dump(struct dlm_rsb *r, int to_nodeid)
336{

--- 320 unchanged lines hidden ---
329
330 send_rcom(ls, mh, rc);
331 out:
332 return error;
333}
334
335int dlm_send_rcom_lookup_dump(struct dlm_rsb *r, int to_nodeid)
336{

--- 320 unchanged lines hidden ---