~ubuntu-branches/ubuntu/utopic/aufs/utopic

« back to all changes in this revision

Viewing changes to fs/aufs/debug.h

  • Committer: Bazaar Package Importer
  • Author(s): Julian Andres Klode
  • Date: 2008-01-30 15:27:04 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20080130152704-uvd64xgdg17ro2s8
Tags: 0+20080129-1
* New upstream snapshot
* 01_vserver_apparmor: Combined patch for vServer and AppArmor Kernels
  - AppArmor kernels have no ia_file, do not use it (LP: #182481)
  - AppArmor patch written by Joerg Schirottke for Kanotix (thank you!)
  - Replaces 01_vserver and 06_ubuntu
* 03_missing_headers: Define the magic numbers for XFS and TMPFS
* 04_sec_perm: Do not use security_inode_permission with kernel >= 2.6.24
* Inform about available pre-compiled modules in aufs-source description
* conf.mk:
  - Rewrite automatic configuration part, define a function and call it
  - Activate the AUFS_FAKE_DM only if the lhash patch has not been applied

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
17
17
 */
18
18
 
19
 
/* $Id: debug.h,v 1.40 2007/10/15 01:26:33 sfjro Exp $ */
 
19
/* $Id: debug.h,v 1.41 2007/12/17 03:30:45 sfjro Exp $ */
20
20
 
21
21
#ifndef __AUFS_DEBUG_H__
22
22
#define __AUFS_DEBUG_H__
97
97
#define AuIOErr(fmt, arg...)    AuErr("I/O Error, " fmt, ##arg)
98
98
#define AuIOErrWhck(fmt, arg...) AuErr("I/O Error, try whck. " fmt, ##arg)
99
99
#define AuWarn1(fmt, arg...) do { \
100
 
        static unsigned char c; \
101
 
        if (!c++) AuWarn(fmt, ##arg); \
 
100
        static unsigned char _c; \
 
101
        if (!_c++) AuWarn(fmt, ##arg); \
102
102
} while (0)
103
103
 
104
104
#define AuErr1(fmt, arg...) do { \
105
 
        static unsigned char c; \
106
 
        if (!c++) AuErr(fmt, ##arg); \
 
105
        static unsigned char _c; \
 
106
        if (!_c++) AuErr(fmt, ##arg); \
107
107
} while (0)
108
108
 
109
109
#define AuIOErr1(fmt, arg...) do { \
110
 
        static unsigned char c; \
111
 
        if (!c++) AuIOErr(fmt, ##arg); \
 
110
        static unsigned char _c; \
 
111
        if (!_c++) AuIOErr(fmt, ##arg); \
112
112
} while (0)
113
113
 
114
114
#define AuUnsupportMsg  "This operation is not supported." \