[PATCH 1/4] ndctl: add function to acquire region resource