+1
−1
Loading
The nfs_page_class tracepoint uses a pointer for the 'req' field marked with the __private attribute. This causes Sparse to complain about dereferencing a private pointer within the trace ring buffer context, specifically during the TP_fast_assign() operation. This fixes a Sparse warning introduced in commit b6ef079f ("nfs: more in-depth tracing of writepage events") by removing the redundant __private attribute from the 'req' field. Reviewed-by:Benjamin Coddington <bcodding@hammerspace.com> Signed-off-by:
Sean Chang <seanwascoding@gmail.com> Signed-off-by:
Trond Myklebust <trond.myklebust@hammerspace.com>