]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
idmapped-mounts: add fs_allow_idmap() helper
authorChristian Brauner <brauner@kernel.org>
Tue, 18 Jan 2022 14:13:23 +0000 (15:13 +0100)
committerEryu Guan <guaneryu@gmail.com>
Sun, 23 Jan 2022 14:25:12 +0000 (22:25 +0800)
commitbd4746b14ae607b09cf5d99573af91f17895a69f
tree166dd55df70a3a1ef22a305980412bce4ead5433
parentb454412847f35a8102d8d8080d159cfec77c0384
idmapped-mounts: add fs_allow_idmap() helper

Move the check whether the underlying filesystem supports idmapped
mounts into a separate helper. We will use it in the following patch to
make it possible to always run all tests that don't require idmapped
mounts.

Link: https://lore.kernel.org/r/20220113132421.865002-1-brauner@kernel.org
Cc: Seth Forshee <sforshee@digitalocean.com>
Cc: Eryu Guan <guaneryu@gmail.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: fstests@vger.kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
src/idmapped-mounts/idmapped-mounts.c