]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: erofs: fix `trace_erofs_readpage' position
authorGao Xiang <gaoxiang25@huawei.com>
Thu, 22 Nov 2018 17:15:58 +0000 (01:15 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Nov 2018 09:53:07 +0000 (10:53 +0100)
commitba9ce771b018c5bbb22c9ed6f03fd0868f1003d5
tree46dfd9326d8adbe3dbefba00e0bd8868ea006998
parent9e3bc2b0f490be287f025de1cc8399e189490024
staging: erofs: fix `trace_erofs_readpage' position

`trace_erofs_readpage' was designed for .readpage() interface hook
in order to trace the detailed synchronized read rather than
the internal implementation `z_erofs_do_read_page' which both
.readpage() and .readpages() use.

It seems the tracepoint was placed to a wrong place by mistake and
it should be moved to the right place.

Fixes: 284db12cfda3 ("staging: erofs: add trace points for reading zipped data")
Reviewed-by: Chen Gong <gongchen4@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/erofs/unzip_vle.c