Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bca31f8
)
Remove silly BUG() that catches "erroneous" writes above 4G.
author
pschwan
<pschwan>
Fri, 22 Mar 2002 23:12:12 +0000
(23:12 +0000)
committer
pschwan
<pschwan>
Fri, 22 Mar 2002 23:12:12 +0000
(23:12 +0000)
lustre/lib/obd_pack.c
patch
|
blob
|
history
diff --git
a/lustre/lib/obd_pack.c
b/lustre/lib/obd_pack.c
index
9daf8cc
..
09c24c2
100644
(file)
--- a/
lustre/lib/obd_pack.c
+++ b/
lustre/lib/obd_pack.c
@@
-243,9
+243,6
@@
void ost_pack_niobuf(void **tmp, void *addr, __u64 offset, __u32 len,
struct niobuf *ioo = *tmp;
char *c = *tmp;
- if ((offset >> 32) != 0)
- BUG();
-
ioo->addr = HTON__u64((__u64)(unsigned long)addr);
ioo->offset = HTON__u64(offset);
ioo->len = HTON__u32(len);