Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-56 lnet: multiple cleanups for inspection
[fs/lustre-release.git]
/
lnet
/
lnet
/
lib-md.c
diff --git
a/lnet/lnet/lib-md.c
b/lnet/lnet/lib-md.c
index
96b4660
..
5970963
100644
(file)
--- a/
lnet/lnet/lib-md.c
+++ b/
lnet/lnet/lib-md.c
@@
-263,7
+263,7
@@
lnet_md_validate(lnet_md_t *umd)
*/
int
LNetMDAttach(lnet_handle_me_t meh, lnet_md_t umd,
*/
int
LNetMDAttach(lnet_handle_me_t meh, lnet_md_t umd,
-
lnet_unlink_t unlink, lnet_handle_md_t *handle)
+ lnet_unlink_t unlink, lnet_handle_md_t *handle)
{
CFS_LIST_HEAD (matches);
CFS_LIST_HEAD (drops);
{
CFS_LIST_HEAD (matches);
CFS_LIST_HEAD (drops);
@@
-294,11
+294,11
@@
LNetMDAttach(lnet_handle_me_t meh, lnet_md_t umd,
if (rc != 0)
goto failed;
if (rc != 0)
goto failed;
-
me = lnet_handle2me(&meh);
+ me = lnet_handle2me(&meh);
if (me == NULL)
rc = -ENOENT;
else if (me->me_md != NULL)
if (me == NULL)
rc = -ENOENT;
else if (me->me_md != NULL)
-
rc = -EBUSY;
+ rc = -EBUSY;
else
rc = lnet_md_link(md, umd.eq_handle, cpt);
else
rc = lnet_md_link(md, umd.eq_handle, cpt);