zfsonlinux/zfs — pull request #2656 by seletskiy (2014-09-03 09:54:50+00:00)
Title: Fix invalid locking order and deadlock in rename operation

This commit should prevent deadlock on dp_config_rwlock when running
`zfs rename`.

See #2625 for the description of that changes.

Minors renaming will be little out of sync with actual rename, but I don't think it's a big deal since snapshot creation works same way (in meaning of synchronization).

Fix #2652, #2525.