HDFS-7045. Fix NameNode deadlock when opening file under /.reserved path. Contributed by Yi Liu.