also potential problems when we don't have CONFIG_DEBUG_SLAB enabled.
Rename OBD_PUNCH_EOF as OBD_OBJECT_EOF, since we use it in places other
than punch.
int error;
ENTRY;
- if (end != OBD_PUNCH_EOF)
+ if (end != OBD_OBJECT_EOF)
CERROR("PUNCH not supported, only truncate works\n");
CDEBUG(D_INODE, "calling truncate for object "LPX64", valid = %x, "
/* Filesystem locks are given a bit of special treatment: if
* this is not a file size lock (which has end == -1), we
* fixup the lock to start and end on page boundaries. */
- if (extent->end != OBD_PUNCH_EOF) {
+ if (extent->end != OBD_OBJECT_EOF) {
extent->start &= PAGE_MASK;
extent->end = (extent->end + PAGE_SIZE - 1) & PAGE_MASK;
}