diff options
author | Christian Brauner <christian.brauner@ubuntu.com> | 2021-12-03 12:17:06 +0100 |
---|---|---|
committer | Christian Brauner <christian.brauner@ubuntu.com> | 2021-12-05 10:28:57 +0100 |
commit | a1ec9040a2a9122605ac26e5725c6de019184419 (patch) | |
tree | 0e5a9a613d1dd7168651abedee6cb98eb50b6d79 /fs/posix_acl.c | |
parent | 209188ce75d0d357c292f6bb81d712acdd4e7db7 (diff) | |
download | linux-stable-a1ec9040a2a9122605ac26e5725c6de019184419.tar.gz linux-stable-a1ec9040a2a9122605ac26e5725c6de019184419.tar.bz2 linux-stable-a1ec9040a2a9122605ac26e5725c6de019184419.zip |
fs: add i_user_ns() helper
Since we'll be passing the filesystem's idmapping in even more places in
the following patches and we do already dereference struct inode to get
to the filesystem's idmapping multiple times add a tiny helper.
Link: https://lore.kernel.org/r/20211123114227.3124056-10-brauner@kernel.org (v1)
Link: https://lore.kernel.org/r/20211130121032.3753852-10-brauner@kernel.org (v2)
Link: https://lore.kernel.org/r/20211203111707.3901969-10-brauner@kernel.org
Cc: Seth Forshee <sforshee@digitalocean.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Al Viro <viro@zeniv.linux.org.uk>
CC: linux-fsdevel@vger.kernel.org
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Seth Forshee <sforshee@digitalocean.com>
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Diffstat (limited to 'fs/posix_acl.c')
0 files changed, 0 insertions, 0 deletions