aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jfs/jfs_logmgr.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2007-11-13 23:16:08 -0500
committerDave Kleikamp <shaggy@linux.vnet.ibm.com>2008-01-03 14:12:10 -0500
commit09aaa749f637b19c308464c2b65a001e67c2a16c (patch)
tree9e23eb70becd952b193aad5ec0810ce894bcb026 /fs/jfs/jfs_logmgr.c
parenta7fe0ba7eee4f7c53077ff2bed2b581db17d00df (diff)
JFS: Remove defconfig ptr comparison to 0
Remove sparse warning: Using plain integer as NULL pointer Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
Diffstat (limited to 'fs/jfs/jfs_logmgr.c')
-rw-r--r--fs/jfs/jfs_logmgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jfs/jfs_logmgr.c b/fs/jfs/jfs_logmgr.c
index 2370716d57ad..325a9679b95a 100644
--- a/fs/jfs/jfs_logmgr.c
+++ b/fs/jfs/jfs_logmgr.c
@@ -2345,7 +2345,7 @@ int jfsIOWait(void *arg)
2345 2345
2346 do { 2346 do {
2347 spin_lock_irq(&log_redrive_lock); 2347 spin_lock_irq(&log_redrive_lock);
2348 while ((bp = log_redrive_list) != 0) { 2348 while ((bp = log_redrive_list)) {
2349 log_redrive_list = bp->l_redrive_next; 2349 log_redrive_list = bp->l_redrive_next;
2350 bp->l_redrive_next = NULL; 2350 bp->l_redrive_next = NULL;
2351 spin_unlock_irq(&log_redrive_lock); 2351 spin_unlock_irq(&log_redrive_lock);