aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2025-06-11 19:40:04 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2025-06-17 18:11:01 -0400
commitf42b8d78dee77107245ec5beee3eb01915bcae7f (patch)
tree4aeda504078d2296e26af46aec9205978deb37a6 /include
parentipe: don't bother with removal of files in directory we'll be removing (diff)
downloadlinux-f42b8d78dee77107245ec5beee3eb01915bcae7f.tar.gz
linux-f42b8d78dee77107245ec5beee3eb01915bcae7f.zip
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;