Btrfs: fix reada debug code compilation
authorVincent <vincent.stehle@laposte.net>
Tue, 16 Apr 2013 08:15:25 +0000 (08:15 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Mon, 6 May 2013 19:54:55 +0000 (15:54 -0400)
commit3c59ccd32abb8f636b1573533d3e77972e80a9c9
treeab3e05311c700f331d4527a0bd07db2b8fab7c0c
parentfd279faefaa0a166733fcaff24699de7a8ea50b3
Btrfs: fix reada debug code compilation

This fixes the following errors:

  fs/btrfs/reada.c: In function ‘btrfs_reada_wait’:
  fs/btrfs/reada.c:958:42: error: invalid operands to binary < (have ‘atomic_t’ and ‘int’)
  fs/btrfs/reada.c:961:41: error: invalid operands to binary < (have ‘atomic_t’ and ‘int’)

Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
Cc: Chris Mason <chris.mason@fusionio.com>
Cc: linux-btrfs@vger.kernel.org
Reviewed-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/reada.c