Whamcloud - gitweb
b=21670 fix format specifiers and type cast in LQS_DEBUG
authorAndrew Perepechko <andrew.perepechko@sun.com>
Wed, 23 Dec 2009 20:40:05 +0000 (23:40 +0300)
committerAndrew Perepechko <andrew.perepechko@sun.com>
Wed, 23 Dec 2009 20:40:05 +0000 (23:40 +0300)
i=Andreas Dilger

lustre/quota/quota_internal.h

index abb83b8..0ec25f9 100644 (file)
 #define LQS_DEBUG(lqs, fmt, arg...)                                           \
         CDEBUG(D_QUOTA, "lqs(%p) id(%u) flag(%lu) type(%c) bunit(%lu) "       \
                "btune(%lu) iunit(%lu) itune(%lu) lqs_bwrite_pending(%lu) "    \
-               "lqs_iwrite_pending(%lu) ino_rec(%llu) blk_rec(%llu)"   \
+               "lqs_iwrite_pending(%lu) ino_rec(%lld) blk_rec(%lld)"   \
                "refcount(%d): "                                               \
                fmt, lqs, lqs->lqs_id, lqs->lqs_flags,                         \
                LQS_IS_GRP(lqs) ? 'g' : 'u',                                   \
                lqs->lqs_bunit_sz, lqs->lqs_btune_sz, lqs->lqs_iunit_sz,       \
                lqs->lqs_itune_sz, lqs->lqs_bwrite_pending,                    \
-               lqs->lqs_iwrite_pending, (__s64)lqs->lqs_ino_rec,              \
-               (__s64)lqs->lqs_blk_rec, atomic_read(&lqs->lqs_refcount),      \
+               lqs->lqs_iwrite_pending, lqs->lqs_ino_rec,                     \
+               lqs->lqs_blk_rec, atomic_read(&lqs->lqs_refcount),             \
                ## arg);