diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-06-24 08:41:41 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-06-24 13:07:53 -0400 |
commit | 816724e65c72a90a44fbad0ef0b59b186c85fa90 (patch) | |
tree | 421fa29aedff988e392f92780637553e275d37a0 /drivers/scsi/scsi_logging.h | |
parent | 70ac4385a13f78bc478f26d317511893741b05bd (diff) | |
parent | d384ea691fe4ea8c2dd5b9b8d9042eb181776f18 (diff) |
Merge branch 'master' of /home/trondmy/kernel/linux-2.6/
Conflicts:
fs/nfs/inode.c
fs/super.c
Fix conflicts between patch 'NFS: Split fs/nfs/inode.c' and patch
'VFS: Permit filesystem to override root dentry on mount'
Diffstat (limited to 'drivers/scsi/scsi_logging.h')
-rw-r--r-- | drivers/scsi/scsi_logging.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/scsi/scsi_logging.h b/drivers/scsi/scsi_logging.h index e1722ba94586..a3e2af6a846c 100644 --- a/drivers/scsi/scsi_logging.h +++ b/drivers/scsi/scsi_logging.h | |||
@@ -45,10 +45,12 @@ extern unsigned int scsi_logging_level; | |||
45 | ((scsi_logging_level >> (SHIFT)) & ((1 << (BITS)) - 1)) | 45 | ((scsi_logging_level >> (SHIFT)) & ((1 << (BITS)) - 1)) |
46 | 46 | ||
47 | #define SCSI_CHECK_LOGGING(SHIFT, BITS, LEVEL, CMD) \ | 47 | #define SCSI_CHECK_LOGGING(SHIFT, BITS, LEVEL, CMD) \ |
48 | { \ | 48 | do { \ |
49 | if (unlikely((SCSI_LOG_LEVEL(SHIFT, BITS)) > (LEVEL))) \ | 49 | if (unlikely((SCSI_LOG_LEVEL(SHIFT, BITS)) > (LEVEL))) \ |
50 | (CMD); \ | 50 | do { \ |
51 | } | 51 | CMD; \ |
52 | } while (0); \ | ||
53 | } while (0) | ||
52 | #else | 54 | #else |
53 | #define SCSI_CHECK_LOGGING(SHIFT, BITS, LEVEL, CMD) | 55 | #define SCSI_CHECK_LOGGING(SHIFT, BITS, LEVEL, CMD) |
54 | #endif /* CONFIG_SCSI_LOGGING */ | 56 | #endif /* CONFIG_SCSI_LOGGING */ |