diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2025-06-12 02:40:04 +0300 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2025-06-18 01:11:01 +0300 |
| commit | f42b8d78dee77107245ec5beee3eb01915bcae7f (patch) | |
| tree | 4aeda504078d2296e26af46aec9205978deb37a6 /include | |
| parent | 5be998a218f7db74bcb26accdfcb9fe2d0c18b75 (diff) | |
| download | linux-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.h | 2 |
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; |
