X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Finclude%2Flustre_debug.h;h=6876e2e672fcc4e9b799c85aaff3884544745133;hb=45176323c64a27fbbaa3ed837765537687f50cc6;hp=6662f487dfa068cf777d1e4b1433f01757156f4f;hpb=f95393b0d0a59cf3dc2f29cffc35dcc4cc9d7728;p=fs%2Flustre-release.git diff --git a/lustre/include/lustre_debug.h b/lustre/include/lustre_debug.h index 6662f48..6876e2e 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. @@ -28,6 +26,8 @@ /* * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. + * + * Copyright (c) 2011, Whamcloud, Inc. */ /* * 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; \