Commit 87d4fbf4 authored by Shivank Garg's avatar Shivank Garg Committed by Sean Christopherson
Browse files

KVM: guest_memfd: Remove redundant kvm_gmem_getattr implementation



Remove the redundant kvm_gmem_getattr() implementation that simply calls
generic_fillattr() without any special handling. The VFS layer
(vfs_getattr_nosec()) will call generic_fillattr() by default when no
custom getattr operation is provided in the inode_operations structure.

This is a cleanup with no functional change.

Signed-off-by: default avatarShivank Garg <shivankg@amd.com>
Reviewed-By: default avatarAckerley Tng <ackerleytng@google.com>
Reviewed-by: default avatarPankaj Gupta <pankaj.gupta@amd.com>
Link: https://lore.kernel.org/r/20250602172317.10601-1-shivankg@amd.com


Signed-off-by: default avatarSean Christopherson <seanjc@google.com>
parent aa006b2e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment