summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2025-06-12 02:40:04 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2025-06-18 01:11:01 +0300
commitf42b8d78dee77107245ec5beee3eb01915bcae7f (patch)
tree4aeda504078d2296e26af46aec9205978deb37a6 /include
parent5be998a218f7db74bcb26accdfcb9fe2d0c18b75 (diff)
downloadlinux-f42b8d78dee77107245ec5beee3eb01915bcae7f.tar.xz
tpm: don't bother with removal of files in directory we'll be removing
FWIW, there is a reliable indication of removal - ->i_nlink going to 0 ;-) Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r--include/linux/tpm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/tpm.h b/include/linux/tpm.h
index a3d8305e88a5..9894c104dc93 100644
--- a/include/linux/tpm.h
+++ b/include/linux/tpm.h
@@ -182,7 +182,7 @@ struct tpm_chip {
unsigned long duration[TPM_NUM_DURATIONS]; /* jiffies */
bool duration_adjusted;
- struct dentry *bios_dir[TPM_NUM_EVENT_LOG_FILES];
+ struct dentry *bios_dir;
const struct attribute_group *groups[3 + TPM_MAX_HASHES];
unsigned int groups_cnt;