aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/move_extent.c
diff options
context:
space:
mode:
authorAl Viro <[email protected]>2024-11-03 20:20:15 +0000
committerAl Viro <[email protected]>2024-11-13 16:46:44 +0000
commit6c056ae4b27575d9230b883498d3cd02315ce6cc (patch)
treeee250a2c5b52d1a215c0ef495aa30ddb3ce13944 /fs/ext4/move_extent.c
parentfs: Simplify getattr interface function checking AT_GETATTR_NOSEC flag (diff)
downloadkernel-6c056ae4b27575d9230b883498d3cd02315ce6cc.tar.gz
kernel-6c056ae4b27575d9230b883498d3cd02315ce6cc.zip
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 <[email protected]> Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'fs/ext4/move_extent.c')
0 files changed, 0 insertions, 0 deletions