Whamcloud - gitweb
Remove silly BUG() that catches "erroneous" writes above 4G.
authorpschwan <pschwan>
Fri, 22 Mar 2002 23:12:12 +0000 (23:12 +0000)
committerpschwan <pschwan>
Fri, 22 Mar 2002 23:12:12 +0000 (23:12 +0000)
lustre/lib/obd_pack.c

index 9daf8cc..09c24c2 100644 (file)
@@ -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);