diff options
author | Jeff Layton <jlayton@redhat.com> | 2016-07-01 16:39:20 +0300 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2016-07-28 04:00:39 +0300 |
commit | 5b484a513149f53613d376a9d1cd0391de099fb4 (patch) | |
tree | 0ee1d9977b0ba7ec005647ec6086414979eca3c0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8aa152c77890abd0731f119e4e6662375503e288 (diff) | |
download | linux-5b484a513149f53613d376a9d1cd0391de099fb4.tar.xz |
ceph: clear d_fsinfo pointer under d_lock
To check for a valid dentry lease, we need to get at the
ceph_dentry_info. Under rcuwalk though, we may end up with a dentry that
is on its way to destruction. Since we need to take the d_lock in
dentry_lease_is_valid already, we can just ensure that we clear the
d_fsinfo pointer out under the same lock before destroying it.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Yan, Zheng <zyan@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions