aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorChristian Brauner <christian.brauner@ubuntu.com>2021-07-27 12:48:40 +0200
committerDavid Sterba <dsterba@suse.com>2021-08-23 13:19:12 +0200
commitc2fd68b6b2b00f0a6280b5971028c10c8f0ba70f (patch)
treecbef11f6d08b6e74c4b85b0ebf026b2dc96edde8 /scripts/gcc-plugins/cyc_complexity_plugin.c
parente7849e33cf5d785568b181e3c15236e32c7dfdb2 (diff)
downloadlinux-c2fd68b6b2b00f0a6280b5971028c10c8f0ba70f.tar.gz
linux-c2fd68b6b2b00f0a6280b5971028c10c8f0ba70f.tar.bz2
linux-c2fd68b6b2b00f0a6280b5971028c10c8f0ba70f.zip
namei: add mapping aware lookup helper
Various filesystems rely on the lookup_one_len() helper to lookup a single path component relative to a well-known starting point. Allow such filesystems to support idmapped mounts by adding a version of this helper to take the idmap into account when calling inode_permission(). This change is a required to let btrfs (and other filesystems) support idmapped mounts. Cc: Christoph Hellwig <hch@infradead.org> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Matthew Wilcox (Oracle) <willy@infradead.org> Cc: linux-fsdevel@vger.kernel.org Reviewed-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions