common/rc: add _scratch_{u}mount_idmapped() helpers
authorChristian Brauner <christian.brauner@ubuntu.com>
Mon, 12 Apr 2021 11:57:05 +0000 (13:57 +0200)
committerEryu Guan <guaneryu@gmail.com>
Sun, 18 Apr 2021 12:53:53 +0000 (20:53 +0800)
commitbacf9b2d6d612ed1d48fa1f0f71cbccafb6c4413
tree73b3ce6160a0734e59bfbeec6b66057f80dcfd4f
parent0d1af68e1a9d6738178d0054d121ff6962c7fead
common/rc: add _scratch_{u}mount_idmapped() helpers

They will be used in follow-up patches for xfs quota tests but might be
useful for other tests in the future.

Cc: Eryu Guan <guan@eryu.me>
Cc: Christoph Hellwig <hch@lst.de>
Cc: David Howells <dhowells@redhat.com>
Cc: fstests@vger.kernel.org
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
.gitignore
common/rc
src/idmapped-mounts/Makefile
src/idmapped-mounts/mount-idmapped.c [new file with mode: 0644]
src/idmapped-mounts/utils.c
src/idmapped-mounts/utils.h