Whamcloud - gitweb
LU-2642 osd-ldiskfs: fix typo in REQ_WRITE check
authorJames Simmons <uja.ornl@gmail.com>
Tue, 5 Mar 2013 12:55:54 +0000 (07:55 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 22 Mar 2013 18:12:36 +0000 (14:12 -0400)
commit5b1217e66234c61dfb8f7cecdfc2de54cd02b415
tree3cf711fcb8c50fb4c1c337754dc40e56e23268b3
parent77601ac36b81ab7c659b98c3613367482a31ecad
LU-2642 osd-ldiskfs: fix typo in REQ_WRITE check

Commit eecb3086 defines __REQ_WRITE as BIO_RW if __REQ_WRITE is
not defined. __REQ_WRITE is an enum. REQ_WRITE is a define.

Let's use that instead.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: James Simmons <uja.ornl@gmail.com>
Change-Id: I500c771e6f3e69e1be3fab872150019103515d30
Reviewed-on: http://review.whamcloud.com/5503
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
lustre/osd-ldiskfs/osd_io.c