diff options
author | Miklos Szeredi <[email protected]> | 2016-03-26 16:14:39 -0400 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2016-03-26 16:14:39 -0400 |
commit | be62a1a8fd116f5cd9e53726601f970e16e17558 (patch) | |
tree | 45c57ddc7b03dde0d4262af9f6c91ec5f5a74648 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | d101a125954eae1d397adda94ca6319485a50493 (diff) |
nfs: use file_dentry()
NFS may be used as lower layer of overlayfs and accessing f_path.dentry can
lead to a crash.
Fix by replacing direct access of file->f_path.dentry with the
file_dentry() accessor, which will always return a native object.
Fixes: 4bacc9c9234c ("overlayfs: Make f_path always point to the overlay and f_inode to the underlay")
Signed-off-by: Miklos Szeredi <[email protected]>
Tested-by: Goldwyn Rodrigues <[email protected]>
Acked-by: Trond Myklebust <[email protected]>
Signed-off-by: Theodore Ts'o <[email protected]>
Cc: <[email protected]> # v4.2
Cc: David Howells <[email protected]>
Cc: Al Viro <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions