exofs: Use proper max_IO calculations from ore
authorBoaz Harrosh <bharrosh@panasas.com>
Thu, 2 Aug 2012 11:59:57 +0000 (14:59 +0300)
committerBoaz Harrosh <bharrosh@panasas.com>
Thu, 2 Aug 2012 13:39:17 +0000 (16:39 +0300)
exofs_max_io_pages should just use the ORE's
calculated layout->max_io_length,

And avoid unnecessary BUGs, calculations made here were
also a layering violation.

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
fs/exofs/inode.c

Simple merge