X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Finclude%2Flustre_debug.h;h=f04734729ff1eadde64222c2cbd1dcd34c29b445;hp=027d757e0a2a255c7295fa6781a5b1a0c09f4b92;hb=a6db2409b0282b0a0e44d5d4e6eeb154b5c62dff;hpb=45c495867c903379ec9e9acf01d3d49caffa36e4 diff --git a/lustre/include/lustre_debug.h b/lustre/include/lustre_debug.h index 027d757..f047347 100644 --- a/lustre/include/lustre_debug.h +++ b/lustre/include/lustre_debug.h @@ -1,6 +1,4 @@ -/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*- - * vim:expandtab:shiftwidth=8:tabstop=8: - * +/* * GPL HEADER START * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -26,8 +24,10 @@ * GPL HEADER END */ /* - * Copyright 2008 Sun Microsystems, Inc. All rights reserved + * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. + * + * Copyright (c) 2011, Intel Corporation. */ /* * This file is part of Lustre, http://www.lustre.org/ @@ -58,7 +58,7 @@ #define ASSERT_MAX_SIZE_MB 60000ULL #define ASSERT_PAGE_INDEX(index, OP) \ do { if (index > ASSERT_MAX_SIZE_MB << (20 - CFS_PAGE_SHIFT)) { \ - CERROR("bad page index %lu > %Lu\n", index, \ + CERROR("bad page index %lu > %llu\n", index, \ ASSERT_MAX_SIZE_MB << (20 - CFS_PAGE_SHIFT)); \ libcfs_debug = ~0UL; \ OP; \ @@ -66,7 +66,7 @@ do { if (index > ASSERT_MAX_SIZE_MB << (20 - CFS_PAGE_SHIFT)) { \ #define ASSERT_FILE_OFFSET(offset, OP) \ do { if (offset > ASSERT_MAX_SIZE_MB << 20) { \ - CERROR("bad file offset %Lu > %Lu\n", offset, \ + CERROR("bad file offset %llu > %llu\n", offset, \ ASSERT_MAX_SIZE_MB << 20); \ libcfs_debug = ~0UL; \ OP; \