HDFS-7093. Add config key to restrict setStoragePolicy. (Arpit Agarwal)

Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
Merge remote-tracking branch 'remotes/origin/branch-2' into branch-2