aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorRichard Weinberger <[email protected]>2016-06-13 00:49:04 +0200
committerRichard Weinberger <[email protected]>2016-06-14 10:51:42 +0200
commit61edc3f3b51d2d3948029197cfff6fef7d94e939 (patch)
tree0bcdb8eaa9992c0eabe6ec43b175cf7afa3f1b6a /tools/perf/scripts/python/bin/export-to-postgresql-report
parent1a498ec45eeabcb246c3c3f5822ed9ac1b4f70d8 (diff)
ubi: Don't bypass ->getattr()
Directly accessing inode fields bypasses ->getattr() and can cause problems when the underlying filesystem does not have the default ->getattr() implementation. So instead of obtaining the backing inode via d_backing_inode() use vfs_getattr() and obtain what we need from the kstat struct. Cc: Al Viro <[email protected]> Reported-by: Al Viro <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions