ore: Unlock r4w pages in exact reverse order of locking
authorBoaz Harrosh <bharrosh@panasas.com>
Wed, 11 Jul 2012 12:27:13 +0000 (15:27 +0300)
committerBoaz Harrosh <bharrosh@panasas.com>
Fri, 20 Jul 2012 08:49:25 +0000 (11:49 +0300)
The read-4-write pages are locked in address ascending order.
But where unlocked in a way easiest for coding. Fix that,
locks should be released in opposite order of locking, .i.e
descending address order.

I have not hit this dead-lock. It was found by inspecting the
dbug print-outs. I suspect there is an higher lock at caller that
protects us, but fix it regardless.

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

Simple merge