diff options
author | Richard Weinberger <richard@nod.at> | 2016-06-12 18:49:04 -0400 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2016-06-14 04:51:42 -0400 |
commit | 61edc3f3b51d2d3948029197cfff6fef7d94e939 (patch) | |
tree | 0bcdb8eaa9992c0eabe6ec43b175cf7afa3f1b6a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1a498ec45eeabcb246c3c3f5822ed9ac1b4f70d8 (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 <viro@zeniv.linux.org.uk>
Reported-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions