Added the error path fixes pointed out by Alex and Dave, and made the assert in xfs_mod_incore_sb conditional on using the percpu counters, as well as a few cosmetic cleanups.