diff options
author | Jeff Layton <jlayton@kernel.org> | 2019-04-17 14:23:17 -0400 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2019-05-07 19:22:37 +0200 |
commit | c1dfc277239c73f68a6af6979acec1989a5e6864 (patch) | |
tree | fafa67ffb86d1023246ad304261d622c1a46bf4f /scripts/gdb/linux/dmesg.py | |
parent | f77f21bb28367d0ac4861a24da1db118bba850e6 (diff) |
ceph: use pathlen values returned by set_request_path_attr
We make copies of the dentry name in set_request_path_attr, but then
create_request_message re-fetches the lengths out of the dentry. While
we don't currently set the *_drop fields unless the parents are locked,
it's still better not to rely on that sort of implicit assumption.
Use the pathlen values that set_request_path_attr returned instead, as
they will always be correct for the returned paths themselves.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'scripts/gdb/linux/dmesg.py')
0 files changed, 0 insertions, 0 deletions