summaryrefslogtreecommitdiffstats
path: root/fs/namei.c
diff options
context:
space:
mode:
authorRajiv Andrade <srajiv@linux.vnet.ibm.com>2009-02-02 15:23:43 -0200
committerJames Morris <jmorris@namei.org>2009-02-03 11:23:09 +1100
commit0883743825e34b81f3ff78aaee3a97cba57586c5 (patch)
tree9b9e7f2d4dca611aee61c7c0245956f5fd830d91 /fs/namei.c
parentfaa3aad75a959f55e7783f4dc7840253c7506571 (diff)
downloadlinux-0883743825e34b81f3ff78aaee3a97cba57586c5.tar.bz2
TPM: sysfs functions consolidation
According to Dave Hansen's comments on the tpm_show_*, some of these functions present a pattern when allocating data[] memory space and also when setting its content. A new function was created so that this pattern could be consolidated. Also, replaced the data[] command vectors and its indexes by meaningful structures as pointed out by Matt Helsley too. Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'fs/namei.c')
0 files changed, 0 insertions, 0 deletions