summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNayna Jain <nayna@linux.vnet.ibm.com>2016-10-18 20:49:39 -0400
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2016-11-28 01:31:31 +0200
commit2528a64664f8a463d85b6e6876b4025042687553 (patch)
treeed67f57b65b3b4ba2a2b6c2a180abf84ab0b88f5 /include
parentf45aac38c8b754bd4aa74b5ec4fedc0ff39e2cb3 (diff)
downloadlinux-stable-2528a64664f8a463d85b6e6876b4025042687553.tar.gz
linux-stable-2528a64664f8a463d85b6e6876b4025042687553.tar.bz2
linux-stable-2528a64664f8a463d85b6e6876b4025042687553.zip
tpm: define a generic open() method for ascii & bios measurements
open() method for event log ascii and binary bios measurements file operations are very similar. This patch refactors the code into a single open() call by passing seq_operations as i_node->private data. Suggested-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> Signed-off-by: Nayna Jain <nayna@linux.vnet.ibm.com> Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions