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-13004 net: discard LNET_MD_IOVEC
[fs/lustre-release.git]
/
lnet
/
include
/
lnet
/
lib-lnet.h
diff --git
a/lnet/include/lnet/lib-lnet.h
b/lnet/include/lnet/lib-lnet.h
index
c7ec6d1
..
d01439c
100644
(file)
--- a/
lnet/include/lnet/lib-lnet.h
+++ b/
lnet/include/lnet/lib-lnet.h
@@
-223,8
+223,7
@@
lnet_md_alloc(struct lnet_md *umd)
niov = umd->length;
size = offsetof(struct lnet_libmd, md_iov.kiov[niov]);
} else {
- niov = ((umd->options & LNET_MD_IOVEC) != 0) ?
- umd->length : 1;
+ niov = 1;
size = offsetof(struct lnet_libmd, md_iov.iov[niov]);
}