Changes from previous version: - fix PATCH 1 to avoid introducing race in pnfs_destroy_layout with LAYOUTGET - refactor PATCH 3 per Benny's suggestion These fix the incorrect lock order used throughout the pnfs code. We first simplify the logic (and in the process squash a few bugs), then rearrange the code so we never have to take both i_lock and cl_lock simultaneously. Fred -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html