Skip to content

Commit 545b135

Browse files
committed
netfs: Export the netfs_sreq tracepoint
Export the netfs_sreq tracepoint so that it can be called directly from client filesystems/cache backend modules. Signed-off-by: David Howells <dhowells@redhat.com> cc: Jeff Layton <jlayton@kernel.org> cc: linux-cachefs@redhat.com cc: linux-fsdevel@vger.kernel.org cc: linux-mm@kvack.org
1 parent 100ccd1 commit 545b135

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

fs/netfs/main.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ MODULE_DESCRIPTION("Network fs support");
1717
MODULE_AUTHOR("Red Hat, Inc.");
1818
MODULE_LICENSE("GPL");
1919

20+
EXPORT_TRACEPOINT_SYMBOL(netfs_sreq);
21+
2022
unsigned netfs_debug;
2123
module_param_named(debug, netfs_debug, uint, S_IWUSR | S_IRUGO);
2224
MODULE_PARM_DESC(netfs_debug, "Netfs support debugging mask");

0 commit comments

Comments
 (0)