summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2010-06-22 09:03:43 -0700
committerJens Axboe <jaxboe@fusionio.com>2010-08-07 18:23:14 +0200
commit511d37af66246c67f65e7896c230bdb81d853b6c (patch)
treedea427439e9ee504b53d6a05af791d68f2b12bae
parent1676effca4cd2a6b32e6e8e0ecaa91522dfda6fa (diff)
block/xd.c: fix brace typo
Fix extra brace typo that is causing build errors. Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
-rw-r--r--drivers/block/xd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/xd.c b/drivers/block/xd.c
index 4dc29837609..b16a3a926cf 100644
--- a/drivers/block/xd.c
+++ b/drivers/block/xd.c
@@ -322,7 +322,7 @@ static void do_xd_request (struct request_queue * q)
int res = -EIO;
int retry;
- if (req->cmd_type != REQ_TYPE_FS) {
+ if (req->cmd_type != REQ_TYPE_FS)
goto done;
if (block + count > get_capacity(req->rq_disk))
goto done;