linux/fs/orangefs
Christian Brauner 549c729771
fs: make helpers idmap mount aware
Extend some inode methods with an additional user namespace argument. A
filesystem that is aware of idmapped mounts will receive the user
namespace the mount has been marked with. This can be used for
additional permission checking and also to enable filesystems to
translate between uids and gids if they need to. We have implemented all
relevant helpers in earlier patches.

As requested we simply extend the exisiting inode method instead of
introducing new ones. This is a little more code churn but it's mostly
mechanical and doesnt't leave us with additional inode methods.

Link: https://lore.kernel.org/r/20210121131959.646623-25-christian.brauner@ubuntu.com
Cc: Christoph Hellwig <hch@lst.de>
Cc: David Howells <dhowells@redhat.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: linux-fsdevel@vger.kernel.org
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
2021-01-24 14:27:20 +01:00
..
acl.c fs: make helpers idmap mount aware 2021-01-24 14:27:20 +01:00
dcache.c orangefs: reverse sense of is-inode-stale test in d_revalidate 2018-02-06 16:38:13 -05:00
devorangefs-req.c Merge branch 'work.compat' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2018-06-16 16:21:50 +09:00
dir.c
downcall.h
file.c orangefs: add splice file operations 2020-12-16 16:14:08 -05:00
inode.c fs: make helpers idmap mount aware 2021-01-24 14:27:20 +01:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile
namei.c fs: make helpers idmap mount aware 2021-01-24 14:27:20 +01:00
orangefs-bufmap.c orangefs: convert get_user_pages() --> pin_user_pages() 2020-05-29 16:25:04 -04:00
orangefs-bufmap.h orangefs: copy Orangefs-sized blocks into the pagecache if possible. 2019-05-03 14:32:39 -04:00
orangefs-cache.c
orangefs-debug.h orangefs: remove unused code 2018-04-03 21:55:28 -04:00
orangefs-debugfs.c help_next should increase position index 2020-02-04 15:22:04 -05:00
orangefs-debugfs.h orangefs: fix build warning from debugfs cleanup patch 2019-07-04 10:30:33 +02:00
orangefs-dev-proto.h
orangefs-kernel.h fs: make helpers idmap mount aware 2021-01-24 14:27:20 +01:00
orangefs-mod.c orangefs: remove unnecessary assignment to variable ret 2020-08-04 15:01:58 -04:00
orangefs-sysfs.c orangefs: add orangefs_revalidate_mapping 2019-05-03 14:32:39 -04:00
orangefs-sysfs.h
orangefs-utils.c orangefs: skip inode writeout if nothing to write 2019-05-03 14:32:38 -04:00
protocol.h orangefs: specify user pointers when using dev_map_desc and bufmap 2018-06-01 14:51:36 -04:00
super.c Orangefs: This pull request includes one fix and our "Orangefs through 2019-05-09 09:37:25 -07:00
symlink.c
upcall.h
waitqueue.c orangefs: service ops done for writeback are not killable 2019-05-03 14:32:38 -04:00
xattr.c acl: handle idmapped mounts 2021-01-24 14:27:17 +01:00