Fix lock inversion in forced shutdown.
Recent changes to xlog_state_release_iclog() placed the grant_lock
inside the icloglock. forced unmount of the log does this the opposite
way around, but does not depend on the order for correct working.
Fix the inversion by changing the order locks are gained in
Date: Wed Apr 9 14:02:59 AEST 2008
Inspected by: hch@xxxxxxxxxxxxx
The following file(s) were checked into:
fs/xfs/xfs_log.c - 1.353 - changed
- Fix lock inversion in forced shutdown.