- CDEBUG(D_INFO, "local: %p, remote cookie: "LPX64", flags: %d\n", lock,
- reply->lock_handle.cookie, *flags);
- if (type == LDLM_EXTENT) {
- CDEBUG(D_INFO, "requested extent: "LPU64" -> "LPU64", got "
- "extent "LPU64" -> "LPU64"\n",
- body->lock_desc.l_extent.start,
- body->lock_desc.l_extent.end,
- reply->lock_extent.start, reply->lock_extent.end);
-
- if ((reply->lock_extent.end & ~PAGE_MASK) != ~PAGE_MASK) {
- /* XXX Old versions of BA OST code have a fencepost bug
- * which will cause them to grant a lock that's one
- * byte too large. This can be safely removed after BA
- * ships their next release -phik (02 Apr 2003) */
- reply->lock_extent.end--;
- } else if ((reply->lock_extent.start & ~PAGE_MASK) ==
- ~PAGE_MASK) {
- reply->lock_extent.start++;
- }
-
- cookie = &reply->lock_extent; /* FIXME bug 267 */
- cookielen = sizeof(reply->lock_extent);
- }
+ CDEBUG(D_INFO, "local: %p, remote cookie: "LPX64", flags: 0x%x\n",
+ lock, reply->lock_handle.cookie, *flags);