CyanogenMod/android_bootable_recovery — pull request #42 by huiyiqun (2014-12-04 05:08:14+00:00)
Title: Never create symlink when primary mount point is /sdcard

In my device, the primary_path is /sdcard and is_data_media_volume_path returns false. It's conspicuous that we should never link /sdcard to itself, which will lead to a loop and prevent /sdcard to be mounted.

With this commit, my cwm recovery works fine.