Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 262662
b: refs/heads/master
c: c3ad996
h: refs/heads/master
v: v3
  • Loading branch information
Linus Torvalds committed Aug 8, 2011
1 parent 8f9f9d6 commit 458113c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 19 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 638a8439096c582bdb523fcea9d875d3e1fed38a
refs/heads/master: c3ad996246dc5fd6e3df473c5fc1ba6d53e1d402
26 changes: 8 additions & 18 deletions trunk/fs/autofs4/autofs_i.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,27 +39,17 @@

/* #define DEBUG */

#ifdef DEBUG
#define DPRINTK(fmt, args...) \
do { \
printk(KERN_DEBUG "pid %d: %s: " fmt "\n", \
current->pid, __func__, ##args); \
} while (0)
#else
#define DPRINTK(fmt, args...) do {} while (0)
#endif

#define AUTOFS_WARN(fmt, args...) \
do { \
#define DPRINTK(fmt, ...) \
pr_debug("pid %d: %s: " fmt "\n", \
current->pid, __func__, ##__VA_ARGS__)

#define AUTOFS_WARN(fmt, ...) \
printk(KERN_WARNING "pid %d: %s: " fmt "\n", \
current->pid, __func__, ##args); \
} while (0)
current->pid, __func__, ##__VA_ARGS__)

#define AUTOFS_ERROR(fmt, args...) \
do { \
#define AUTOFS_ERROR(fmt, ...) \
printk(KERN_ERR "pid %d: %s: " fmt "\n", \
current->pid, __func__, ##args); \
} while (0)
current->pid, __func__, ##__VA_ARGS__)

/* Unified info structure. This is pointed to by both the dentry and
inode structures. Each file in the filesystem has an instance of this
Expand Down

0 comments on commit 458113c

Please sign in to comment.