diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2024-11-03 23:20:15 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2024-11-13 19:46:44 +0300 |
commit | 6c056ae4b27575d9230b883498d3cd02315ce6cc (patch) | |
tree | ee250a2c5b52d1a215c0ef495aa30ddb3ce13944 /tools/perf/scripts/python/stackcollapse.py | |
parent | 95f567f81e43a1bcb5fbf0559e55b7505707300d (diff) | |
download | linux-6c056ae4b27575d9230b883498d3cd02315ce6cc.tar.xz |
libfs: kill empty_dir_getattr()
It's used only to initialize ->getattr in one inode_operations instance
(empty_dir_inode_operations) and its behaviour had always been equivalent
to what we get with NULL ->getattr.
Just remove that initializer, along with empty_dir_getattr() itself.
While we are at it, the same instance has ->permission initialized to
generic_permission, which is what NULL ->permission ends up doing.
Again, no point keeping it.
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions